Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/nfs-utils/files: nfs-utils-1.2.4-conditional.patch
Date: Thu, 01 Sep 2011 23:10:28
Message-Id: 20110901231015.A7B0320051@flycatcher.gentoo.org
1 flameeyes 11/09/01 23:10:15
2
3 Added: nfs-utils-1.2.4-conditional.patch
4 Log:
5 Fix build with USE=-nfsv4, by importing two (folded) patches from git.
6
7 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 net-fs/nfs-utils/files/nfs-utils-1.2.4-conditional.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfs-utils-1.2.4-conditional.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfs-utils-1.2.4-conditional.patch?rev=1.1&content-type=text/plain
14
15 Index: nfs-utils-1.2.4-conditional.patch
16 ===================================================================
17 diff --git a/configure.ac b/configure.ac
18 index ca12f9e..593808c 100644
19 --- a/configure.ac
20 +++ b/configure.ac
21 @@ -256,9 +256,6 @@ if test "$enable_nfsv4" = yes; then
22 dnl check for nfsidmap libraries and headers
23 AC_LIBNFSIDMAP
24
25 - dnl enable nfsidmap when its support by libnfsidmap
26 - AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$enable_nfsidmap" = "yes"])
27 -
28 dnl check for the keyutils libraries and headers
29 AC_KEYUTILS
30
31 @@ -268,6 +265,9 @@ if test "$enable_nfsv4" = yes; then
32 AC_RPCSEC_VERSION
33 fi
34 fi
35 +dnl enable nfsidmap when its support by libnfsidmap
36 +AM_CONDITIONAL(CONFIG_NFSIDMAP, [test "$enable_nfsidmap" = "yes"])
37 +
38
39 if test "$knfsd_cv_glibc2" = no; then
40 AC_CHECK_LIB(bsd, daemon, [LIBBSD="-lbsd"])