[packages]: nfs-kernel server: fix the configure problem with CONFIGURE_VARS instead...
authorPeter Wagner <​tripolar@gmx.at>
Thu, 7 Jun 2012 17:00:55 +0000 (17:00 +0000)
committerPeter Wagner <​tripolar@gmx.at>
Thu, 7 Jun 2012 17:00:55 +0000 (17:00 +0000)
SVN-Revision: 32120

net/nfs-kernel-server/Makefile
net/nfs-kernel-server/patches/200-configure.patch [deleted file]
net/nfs-kernel-server/patches/200-osd_login-install.patch [new file with mode: 0644]
net/nfs-kernel-server/patches/300-osd_login-install.patch [deleted file]

index fcf6e44e2346ad16cf564988efd53c1d2b7d0073..c98a204f1cf855fceb4d1a81be0ef6ab7d0ee74a 100644 (file)
@@ -80,6 +80,10 @@ CONFIGURE_ARGS += \
        --disable-tirpc \
        --disable-nfsdcld
 
+CONFIGURE_VARS += \
+       CONFIG_SQLITE3_TRUE="\#" \
+       CONFIG_NFSDCLD_TRUE="\#"
+
 MAKE_FLAGS += \
        OPT="$(TARGET_CFLAGS)" \
        INSTALLSUID="install -m 4755" \
@@ -106,7 +110,8 @@ HOST_CONFIGURE_VARS += \
        GSSGLUE_LIBS=" " \
        RPCSECGSS_CFLAGS=" " \
        RPCSECGSS_LIBS=" " \
-
+       CONFIG_SQLITE3_TRUE="\#" \
+       CONFIG_NFSDCLD_TRUE="\#"
 
 define Host/Compile
        $(MAKE) -C $(HOST_BUILD_DIR)/tools/rpcgen all
diff --git a/net/nfs-kernel-server/patches/200-configure.patch b/net/nfs-kernel-server/patches/200-configure.patch
deleted file mode 100644 (file)
index 65208e4..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -868,6 +868,8 @@ RPCSECGSS_LIBS'
- # Initialize some variables set by options.
-+CONFIG_SQLITE3_TRUE='#'
-+CONFIG_NFSDCLD_TRUE='#'
- ac_init_help=
- ac_init_version=false
- ac_unrecognized_opts=
diff --git a/net/nfs-kernel-server/patches/200-osd_login-install.patch b/net/nfs-kernel-server/patches/200-osd_login-install.patch
new file mode 100644 (file)
index 0000000..749443f
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/utils/osd_login/Makefile.in
++++ b/utils/osd_login/Makefile.in
+@@ -426,6 +426,7 @@ uninstall-am:
+ all-local: $(OSD_LOGIN_FILES)
+ install-data-hook:
++      mkdir -p $(DESTDIR)/sbin
+       $(INSTALL) --mode 755 osd_login $(DESTDIR)/sbin/osd_login
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/net/nfs-kernel-server/patches/300-osd_login-install.patch b/net/nfs-kernel-server/patches/300-osd_login-install.patch
deleted file mode 100644 (file)
index 749443f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/utils/osd_login/Makefile.in
-+++ b/utils/osd_login/Makefile.in
-@@ -426,6 +426,7 @@ uninstall-am:
- all-local: $(OSD_LOGIN_FILES)
- install-data-hook:
-+      mkdir -p $(DESTDIR)/sbin
-       $(INSTALL) --mode 755 osd_login $(DESTDIR)/sbin/osd_login
- # Tell versions [3.59,3.63) of GNU make to not export all variables.