summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2019-02-14 12:22:52 +0800
committerYixun Lan <dlan@gentoo.org>2019-02-14 12:25:21 +0800
commitc87e11722313cd692aa017c5a4021fc0113a909d (patch)
treee04a887a78ecbbacaa3c679ed0925adef3744925 /net-fs/autofs
parentmedia-sound/qmmp: Removed old. (diff)
downloadgentoo-c87e11722313cd692aa017c5a4021fc0113a909d.tar.gz
gentoo-c87e11722313cd692aa017c5a4021fc0113a909d.tar.bz2
gentoo-c87e11722313cd692aa017c5a4021fc0113a909d.zip
net-fs/autofs: fix systemd issue
Closes: https://bugs.gentoo.org/677906 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-fs/autofs')
-rw-r--r--net-fs/autofs/autofs-5.1.5-r1.ebuild (renamed from net-fs/autofs/autofs-5.1.5.ebuild)5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-fs/autofs/autofs-5.1.5.ebuild b/net-fs/autofs/autofs-5.1.5-r1.ebuild
index f120c687a17d..79c538dd1e1c 100644
--- a/net-fs/autofs/autofs-5.1.5.ebuild
+++ b/net-fs/autofs/autofs-5.1.5-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="-dmalloc ldap +libtirpc mount-locking sasl"
+IUSE="-dmalloc ldap +libtirpc mount-locking sasl systemd"
# USE="sasl" adds SASL support to the LDAP module which will not be build. If
# SASL support should be available, please add "ldap" to the USE flags.
@@ -34,6 +34,7 @@ RDEPEND=">=sys-apps/util-linux-2.20
virtual/krb5
)
)
+ systemd? ( sys-apps/systemd )
libtirpc? ( net-libs/libtirpc )
!libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) )
"
@@ -73,12 +74,12 @@ src_configure() {
$(use_with libtirpc)
$(use_with sasl)
$(use_enable mount-locking)
+ $(use_with systemd systemd $(systemd_get_systemunitdir)) #bug #479492
--without-hesiod
--disable-ext-env
--enable-sloppy-mount # bug #453778
--enable-force-shutdown
--enable-ignore-busy
- --with-systemd="$(systemd_get_systemunitdir)" #bug #479492
RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716
)
econf "${myeconfargs[@]}"