nfs-kernel-server: fix missing libbsd dependency
authorGuo Li <uxgood.org@gmail.com>
Mon, 10 Sep 2018 04:53:33 +0000 (12:53 +0800)
committertripolar <tripolar@users.noreply.github.com>
Sat, 27 Apr 2019 17:53:33 +0000 (19:53 +0200)
libbsd may compile before nfs-kernel-server, it  will make
nfs-kernel-server depends libbsd.so.0, that is not we want to see. so
gave option to 'configure' to disable libbsd detect and tell it we have
no libbsd

Signed-off-by: Guo Li <uxgood.org@gmail.com>
(cherry picked from commit 3fc7f7b8cc151ab6490189405cb526b70c9bf6e6)

net/nfs-kernel-server/Makefile

index 9e0605b7e556365dcbc1cb53adadfeab5c18f7a1..dcb98d0292164bda25433d0e43e9618fe30d3c0a 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nfs-kernel-server
 PKG_VERSION:=2.3.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_HASH:=3c8c63611c7e78b7a3b2f8a28b9928a5b5e66d5e9ad09a1e54681508884320a4
 
 PKG_SOURCE_URL:=@SF/nfs
@@ -95,6 +95,7 @@ endif
 CONFIGURE_VARS += \
        libblkid_cv_is_recent=yes \
        ac_cv_lib_resolv___res_querydomain=yes \
+       ac_cv_lib_bsd_daemon=no \
        CONFIG_SQLITE3_TRUE="\#" \
        CONFIG_NFSDCLD_TRUE="\#"