net-fs/nfs-utils: Fix LDAP automagic
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 17 Mar 2018 15:41:55 +0000 (16:41 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 17 Mar 2018 15:41:55 +0000 (16:41 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --force

net-fs/nfs-utils/nfs-utils-2.3.1-r3.ebuild [moved from net-fs/nfs-utils/nfs-utils-2.3.1-r2.ebuild with 96% similarity]

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 fa6a0640931cbea38fe0e42999036e758da7196f..9e7f359734ea9ef655dfdf63067c5d4bb530ea24 100644 (file)
@@ -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[@]}"
 }