commit:     4c0c1e9b94956e892a5a61f0d9a3ffdcef233efc
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 17 15:41:55 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 17 15:41:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0c1e9b

net-fs/nfs-utils: Fix LDAP automagic

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --force

 ...tils-2.3.1-r2.ebuild => nfs-utils-2.3.1-r3.ebuild} | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/net-fs/nfs-utils/nfs-utils-2.3.1-r2.ebuild 
b/net-fs/nfs-utils/nfs-utils-2.3.1-r3.ebuild
similarity index 96%
rename from net-fs/nfs-utils/nfs-utils-2.3.1-r2.ebuild
rename to net-fs/nfs-utils/nfs-utils-2.3.1-r3.ebuild
index fa6a0640931..9e7f359734e 100644
--- a/net-fs/nfs-utils/nfs-utils-2.3.1-r2.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-2.3.1-r3.ebuild
@@ -81,22 +81,23 @@ src_configure() {
        export libsqlite3_cv_is_recent=yes # Our DEPEND forces this.
        export ac_cv_header_keyutils_h=$(usex nfsidmap)
        local myeconfargs=(
-               --with-statedir="${EPREFIX}"/var/lib/nfs
+               --with-statedir="${EPREFIX%/}"/var/lib/nfs
                --enable-tirpc
-               --with-tirpcinclude="${EPREFIX}"/usr/include/tirpc/
-               --with-pluginpath="${EPREFIX}"/usr/$(get_libdir)/libnfsidmap
+               --with-tirpcinclude="${EPREFIX%/}"/usr/include/tirpc/
+               --with-pluginpath="${EPREFIX%/}"/usr/$(get_libdir)/libnfsidmap
                --with-systemd="$(systemd_get_systemunitdir)"
+               --without-gssglue
+               $(use_enable caps)
+               $(use_enable ipv6)
+               $(use_enable kerberos gss)
+               $(use_enable kerberos svcgss)
+               $(use_enable ldap)
                $(use_enable libmount libmount-mount)
-               $(use_with tcpd tcp-wrappers)
                $(use_enable nfsdcld nfsdcltrack)
                $(use_enable nfsv4)
                $(use_enable nfsv41)
-               $(use_enable ipv6)
-               $(use_enable caps)
                $(use_enable uuid)
-               $(use_enable kerberos gss)
-               $(use_enable kerberos svcgss)
-               --without-gssglue
+               $(use_with tcpd tcp-wrappers)
        )
        econf "${myeconfargs[@]}"
 }

Reply via email to