summaryrefslogtreecommitdiff
path: root/package/nfs-utils/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 15:32:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 15:32:51 +0200
commit6b3ceb6798879b655f2233abe484906365172e31 (patch)
treedc9e8b48e0138139069842480c34905e5b284d08 /package/nfs-utils/Makefile
parent5825ea7fe32c9b1b4e3ba2aaf685643c3d963780 (diff)
fix nfs-utils dependencies
Diffstat (limited to 'package/nfs-utils/Makefile')
-rw-r--r--package/nfs-utils/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/package/nfs-utils/Makefile b/package/nfs-utils/Makefile
index 122b1f28a..689e69ae8 100644
--- a/package/nfs-utils/Makefile
+++ b/package/nfs-utils/Makefile
@@ -5,12 +5,12 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= nfs-utils
PKG_VERSION:= 1.2.8
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= fb48630b7c145fb9d6602a79c6eaab11
PKG_DESCR:= Utilities for NFS kernel server implementation
PKG_SECTION:= net/fs
-PKG_DEPENDS:= kmod-nfsd keyutils libtirpc rpcbind libdevmapper
-PKG_DEPENDS+= libpthread
+PKG_DEPENDS:= kmod-nfsd keyutils libtirpc rpcbind libdevmapper libpthread
+PKG_FDEPENDS:= $(PKG_DEPENDS)
PKG_BUILDDEP:= keyutils libtirpc lvm
PKG_URL:= http://sourceforge.net/projects/nfs
# as long as there are tar archives of nfs-utils with object files
@@ -25,9 +25,13 @@ PKGFB_WITH_KERBEROS:= libnfsidmap krb5 libevent libgssglue librpcsecgss
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+ifeq ($(ADK_PACKAGE_NFS_UTILS_WITH_KERBEROS),y)
+PKG_FDEPENDS+= $(PKGFS_WITH_KERBEROS)
+endif
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,NFS_UTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,NFS_UTILS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_FDEPENDS},${PKG_DESCR},${PKG_SECTION}))
ifeq ($(ADK_NATIVE),)
KRB5INC:= ${STAGING_TARGET_DIR}/usr