commit:     405fa921d1a77c25edf63287231f414e22aa7762
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  7 14:38:10 2019 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Mon Jan  7 16:07:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=405fa921

sys-apps/man-db: stick systemd unit files inside EPREFIX

Closes: https://bugs.gentoo.org/674780
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>

 sys-apps/man-db/man-db-2.8.5.ebuild | 3 ++-
 sys-apps/man-db/man-db-9999.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-apps/man-db/man-db-2.8.5.ebuild 
b/sys-apps/man-db/man-db-2.8.5.ebuild
index c6db5d3398e..fc34d010327 100644
--- a/sys-apps/man-db/man-db-2.8.5.ebuild
+++ b/sys-apps/man-db/man-db-2.8.5.ebuild
@@ -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"

diff --git a/sys-apps/man-db/man-db-9999.ebuild 
b/sys-apps/man-db/man-db-9999.ebuild
index c6db5d3398e..fc34d010327 100644
--- a/sys-apps/man-db/man-db-9999.ebuild
+++ b/sys-apps/man-db/man-db-9999.ebuild
@@ -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"

Reply via email to