sys-apps/man-db: stick systemd unit files inside EPREFIX
authorMichael Haubenwallner <haubi@gentoo.org>
Mon, 7 Jan 2019 14:38:10 +0000 (15:38 +0100)
committerMichael Haubenwallner <haubi@gentoo.org>
Mon, 7 Jan 2019 16:07:07 +0000 (17:07 +0100)
Closes: https://bugs.gentoo.org/674780
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>
sys-apps/man-db/man-db-2.8.5.ebuild
sys-apps/man-db/man-db-9999.ebuild

index c6db5d3398e66c31fb971f605ea55485c3ef1760..fc34d010327eadac4d22ac9c65c58a3d1089411f 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit user eapi7-ver
+inherit user eapi7-ver systemd
 
 DESCRIPTION="a man replacement that utilizes berkdb instead of flat files"
 HOMEPAGE="http://www.nongnu.org/man-db/"
@@ -58,6 +58,7 @@ src_configure() {
        export ac_cv_lib_z_gzopen=$(usex zlib)
        local myeconfargs=(
                --with-systemdtmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d
+               --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
                --disable-setuid #662438
                --enable-cache-owner=man
                --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o 1x 2x 3x 4x 5x 6x 7x 8x"
index c6db5d3398e66c31fb971f605ea55485c3ef1760..fc34d010327eadac4d22ac9c65c58a3d1089411f 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit user eapi7-ver
+inherit user eapi7-ver systemd
 
 DESCRIPTION="a man replacement that utilizes berkdb instead of flat files"
 HOMEPAGE="http://www.nongnu.org/man-db/"
@@ -58,6 +58,7 @@ src_configure() {
        export ac_cv_lib_z_gzopen=$(usex zlib)
        local myeconfargs=(
                --with-systemdtmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d
+               --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
                --disable-setuid #662438
                --enable-cache-owner=man
                --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o 1x 2x 3x 4x 5x 6x 7x 8x"