diff options
Diffstat (limited to 'sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild')
-rw-r--r-- | sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild index 99967bb12780..dae5539fd8c7 100644 --- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild +++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild @@ -14,8 +14,8 @@ SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${P LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT public-domain" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86" -IUSE="test" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~s390 sparc x86" +IUSE="selinux test" RESTRICT="!test? ( test )" DEPEND=" @@ -23,6 +23,7 @@ DEPEND=" >=sys-apps/util-linux-2.30:0= >=sys-kernel/linux-headers-${MINKV} sys-libs/libcap:0= + selinux? ( sys-libs/libselinux:0= ) " RDEPEND="${DEPEND} !sys-apps/opentmpfiles @@ -117,7 +118,6 @@ src_configure() { resolve rfkill seccomp - selinux smack sysusers timedated @@ -147,6 +147,7 @@ src_configure() { -Dstatic-libsystemd=true -Dsysvinit-path='' ${systemd_disable_options[@]} + $(meson_use selinux) ) meson_src_configure } @@ -198,7 +199,7 @@ add_service() { elog "Auto-adding '${initd}' service to your ${runlevel} runlevel" mkdir -p "${EROOT}/etc/runlevels/${runlevel}" - ln -snf "${EROOT}/etc/init.d/${initd}" "${EROOT}/etc/runlevels/${runlevel}/${initd}" + ln -snf "${EPREFIX}/etc/init.d/${initd}" "${EROOT}/etc/runlevels/${runlevel}/${initd}" } pkg_postinst() { |