diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-10-30 00:15:57 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-10-30 00:20:53 -0400 |
commit | 3cd4ade04c732da8cbc744572c4f11e86a523831 (patch) | |
tree | 37c9c949f8ab25ac6e9624300f41b2deed05985e /sys-apps | |
parent | 448fde98950def2b1d69bd05903c8e800b3bbead (diff) | |
download | gentoo-3cd4ade04c732da8cbc744572c4f11e86a523831.tar.gz gentoo-3cd4ade04c732da8cbc744572c4f11e86a523831.tar.xz |
sys-apps/systemd: skip distro patches when USE=vanilla
Package-Manager: portage-2.3.2_p1
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/systemd/systemd-9999.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild index b79eeacb3f4..fd23a3492dd 100644 --- a/sys-apps/systemd/systemd-9999.ebuild +++ b/sys-apps/systemd/systemd-9999.ebuild @@ -157,10 +157,16 @@ src_prepare() { sed -i -e 's/GROUP="dialout"/GROUP="uucp"/' rules/*.rules || die local PATCHES=( - "${FILESDIR}/218-Dont-enable-audit-by-default.patch" - "${FILESDIR}/228-noclean-tmp.patch" - "${FILESDIR}/232-systemd-user-pam.patch" ) + + if ! use vanilla; then + PATCHES+=( + "${FILESDIR}/218-Dont-enable-audit-by-default.patch" + "${FILESDIR}/228-noclean-tmp.patch" + "${FILESDIR}/232-systemd-user-pam.patch" + ) + fi + [[ -d "${WORKDIR}"/patches ]] && PATCHES+=( "${WORKDIR}"/patches ) default |