summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2019-01-07 15:38:10 +0100
committerMichael Haubenwallner <haubi@gentoo.org>2019-01-07 17:07:07 +0100
commit405fa921d1a77c25edf63287231f414e22aa7762 (patch)
treea28922881bb1c26de246b8102538282d0e68d9ee /sys-apps/man-db
parentnet-libs/gnutls: build with guile-2.2 (diff)
downloadgentoo-405fa921d1a77c25edf63287231f414e22aa7762.tar.gz
gentoo-405fa921d1a77c25edf63287231f414e22aa7762.tar.bz2
gentoo-405fa921d1a77c25edf63287231f414e22aa7762.zip
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@gentoo.org>
Diffstat (limited to 'sys-apps/man-db')
-rw-r--r--sys-apps/man-db/man-db-2.8.5.ebuild3
-rw-r--r--sys-apps/man-db/man-db-9999.ebuild3
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 c6db5d3398e6..fc34d010327e 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 c6db5d3398e6..fc34d010327e 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"