summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-05-16 10:22:41 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-05-16 10:34:46 +0200
commite9cf932ca6565acc8e1eed0fbe826ce81f97abbd (patch)
tree8f23cd3e77b0f814c42dcd5489b6f6f6a694482b /net-fs
parentnet-misc/r8168: Remove old 8.042.00 (diff)
downloadgentoo-e9cf932ca6565acc8e1eed0fbe826ce81f97abbd.tar.gz
gentoo-e9cf932ca6565acc8e1eed0fbe826ce81f97abbd.tar.bz2
gentoo-e9cf932ca6565acc8e1eed0fbe826ce81f97abbd.zip
net-fs/nfs-utils: Minor ebuild improvements.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/nfs-utils/nfs-utils-2.1.2_rc2.ebuild38
1 files changed, 22 insertions, 16 deletions
diff --git a/net-fs/nfs-utils/nfs-utils-2.1.2_rc2.ebuild b/net-fs/nfs-utils/nfs-utils-2.1.2_rc2.ebuild
index 31d0250fb54f..62ab1c43c85e 100644
--- a/net-fs/nfs-utils/nfs-utils-2.1.2_rc2.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-2.1.2_rc2.ebuild
@@ -62,9 +62,13 @@ RDEPEND="${DEPEND_COMMON}
DEPEND="${DEPEND_COMMON}
virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.4-mtab-sym.patch
+ "${FILESDIR}"/${PN}-1.2.8-cross-build.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.1.4-mtab-sym.patch
- epatch "${FILESDIR}"/${PN}-1.2.8-cross-build.patch
+ epatch "${PATCHES[@]}"
sed \
-e "/^sbindir/s:= := \"${EPREFIX}\":g" \
@@ -77,21 +81,23 @@ src_prepare() {
src_configure() {
export libsqlite3_cv_is_recent=yes # Our DEPEND forces this.
export ac_cv_header_keyutils_h=$(usex nfsidmap)
- econf \
- --with-statedir="${EPREFIX}"/var/lib/nfs \
- --enable-tirpc \
- --with-tirpcinclude="${EPREFIX}"/usr/include/tirpc/ \
- $(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) \
+ local myeconfargs=(
+ --with-statedir="${EPREFIX}"/var/lib/nfs
+ --enable-tirpc
+ --with-tirpcinclude="${EPREFIX}"/usr/include/tirpc/
+ $(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
+ )
+ econf "${myeconfargs[@]}"
}
src_compile(){