summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-04-20 16:57:59 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-04-20 16:57:59 +0000
commit0b41f0ad78a05bad58e7523dc79eabefd8e13cc4 (patch)
tree4f8dc7a97b176d625158c99c1640c984f72fb78b /net-fs
parentFix build with gcc 4.3, by jwrdegoede, reported by David Carlos Manuelda <Sto... (diff)
downloadgentoo-2-0b41f0ad78a05bad58e7523dc79eabefd8e13cc4.tar.gz
gentoo-2-0b41f0ad78a05bad58e7523dc79eabefd8e13cc4.tar.bz2
gentoo-2-0b41f0ad78a05bad58e7523dc79eabefd8e13cc4.zip
Fix building without kerberos and with nonfsv4 USE flag enabled. See bug #218595.
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/nfs-utils/ChangeLog6
-rw-r--r--net-fs/nfs-utils/nfs-utils-1.1.2.ebuild11
2 files changed, 14 insertions, 3 deletions
diff --git a/net-fs/nfs-utils/ChangeLog b/net-fs/nfs-utils/ChangeLog
index faef152b3195..a37cfc173a9b 100644
--- a/net-fs/nfs-utils/ChangeLog
+++ b/net-fs/nfs-utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-fs/nfs-utils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.124 2008/04/20 10:49:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.125 2008/04/20 16:57:59 flameeyes Exp $
+
+ 20 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> nfs-utils-1.1.2.ebuild:
+ Fix building without kerberos and with nonfsv4 USE flag enabled. See bug
+ #218595.
20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
+files/nfs-utils-1.1.2-rpcgen-ioctl.patch, nfs-utils-1.1.2.ebuild:
diff --git a/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild b/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild
index f8df80a4253a..72e9a1a16c10 100644
--- a/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild,v 1.2 2008/04/20 10:49:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild,v 1.3 2008/04/20 16:57:59 flameeyes Exp $
inherit eutils flag-o-matic multilib
@@ -39,6 +39,13 @@ src_unpack() {
}
src_compile() {
+ local myconf
+ if use nonfsv4; then
+ myconf="--disable-gss"
+ else
+ myconf="$(use_enable kerberos gss)"
+ fi
+
econf \
--mandir=/usr/share/man \
--with-statedir=/var/lib/nfs \
@@ -47,7 +54,7 @@ src_compile() {
--enable-secure-statd \
$(use_with tcpd tcp-wrappers) \
$(use_enable !nonfsv4 nfsv4) \
- $(use !nonfsv4 && use_enable kerberos gss) \
+ ${myconf} \
|| die "Configure failed"
emake || die "Failed to compile"
}