summaryrefslogtreecommitdiff
path: root/package/nfs-utils/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-18 11:50:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-18 11:50:51 +0200
commit3c87efe67c0406e2535ab9dc8d8aa4bd9ed3b7f7 (patch)
tree0e148fe47c0bf997dd4b27bfdc8e9fa992084773 /package/nfs-utils/Makefile
parentf02872386c93600dbabe137e3904240d370a7c1f (diff)
fix build when nfsv4 is choosen
Diffstat (limited to 'package/nfs-utils/Makefile')
-rw-r--r--package/nfs-utils/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile
index 0e39aba21..2205336dd 100644
--- a/package/nfs-utils/Makefile
+++ b/package/nfs-utils/Makefile
@@ -14,6 +14,8 @@ PKG_BUILDDEP:= autotool keyutils libtirpc lvm
PKG_URL:= http://sourceforge.net/projects/nfs
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=nfs/}
+PKG_CFLINE_NFS_UTILS:= select ADK_PACKAGE_LIBTIRPC_WITH_GSS if ADK_PACKAGE_NFS_UTILS_V4
+
PKG_SUBPKGS:= NFS_UTILS NFS_UTILS_CLIENT NFS_UTILS_SERVER
PKGSD_NFS_UTILS_CLIENT:=client utilities
PKGSN_NFS_UTILS_CLIENT:=nfs-utils
@@ -35,12 +37,12 @@ $(eval $(call PKG_template,NFS_UTILS_CLIENT,nfs-utils-client,${PKG_VERSION}-${PK
$(eval $(call PKG_template,NFS_UTILS_SERVER,nfs-utils-server,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_NFS_UTILS_SERVER},${PKGSD_NFS_UTILS_SERVER},${PKG_SECTION}))
AUTOTOOL_STYLE:= autoreconf
-ifeq ($(ADK_PACKAGE_NFS_UTILS_SERVER_V4),y)
+ifeq ($(ADK_PACKAGE_NFS_UTILS_V4),y)
CONFIGURE_ARGS+= --enable-nfsv4 \
--disable-nfsv41 \
--with-krb5=${STAGING_TARGET_DIR}/usr \
--enable-gss
-#CONFIGURE_ENV+= LIBS="-lrpcsecgss"
+CONFIGURE_ENV+= LIBS="-lrpcsecgss"
else
CONFIGURE_ARGS+= --disable-nfsv4 \
--disable-nfsv41 \