diff options
Diffstat (limited to 'sys-apps/restorecond/restorecond-9999.ebuild')
-rw-r--r-- | sys-apps/restorecond/restorecond-9999.ebuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sys-apps/restorecond/restorecond-9999.ebuild b/sys-apps/restorecond/restorecond-9999.ebuild index efe40fb0d733..001d8cd6d3f8 100644 --- a/sys-apps/restorecond/restorecond-9999.ebuild +++ b/sys-apps/restorecond/restorecond-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="7" -inherit toolchain-funcs +inherit systemd toolchain-funcs -MY_RELEASEDATE="20191204" +MY_RELEASEDATE="20200710" MY_P="${P//_/-}" IUSE="" @@ -32,8 +32,7 @@ DEPEND=">=sys-libs/libsepol-${PV}:= dev-libs/libpcre:= >=sys-libs/libcap-1.10-r10:=" -RDEPEND="${DEPEND} - !<sys-apps/policycoreutils-2.7_pre" +RDEPEND="${DEPEND}" src_prepare() { default @@ -47,7 +46,9 @@ src_compile() { } src_install() { - emake DESTDIR="${D}" install + SYSTEMDSYSTEMUNITDIR="$(systemd_get_systemunitdir)" \ + SYSTEMDUSERUNITDIR=$(systemd_get_userunitdir) \ + emake DESTDIR="${D}" install rm -rf "${D}/etc/rc.d" || die |