From: Yixun Lan Date: Thu, 14 Feb 2019 04:22:52 +0000 (+0800) Subject: net-fs/autofs: fix systemd issue X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c87e11722313cd692aa017c5a4021fc0113a909d;p=gentoo.git 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 --- diff --git a/net-fs/autofs/autofs-5.1.5.ebuild b/net-fs/autofs/autofs-5.1.5-r1.ebuild similarity index 94% rename from net-fs/autofs/autofs-5.1.5.ebuild rename to 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[@]}"