commit:     c87e11722313cd692aa017c5a4021fc0113a909d
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 14 04:22:52 2019 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Feb 14 04:25:21 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c87e1172

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 <AT> gentoo.org>

 net-fs/autofs/{autofs-5.1.5.ebuild => autofs-5.1.5-r1.ebuild} | 5 +++--
 1 file 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
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 f120c687a17..79c538dd1e1 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[@]}"

Reply via email to