summaryrefslogtreecommitdiff
path: root/package/ipsec-tools/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-25 23:34:57 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-25 23:34:57 +0000
commitddc47d62f9bb0666edde40775077bdbfc428880a (patch)
tree37a6bd21ea38d5a64e5693107dc37894c00daa48 /package/ipsec-tools/Makefile
parente8a64771285ade13184005b65d0e2d5ced596963 (diff)
various configure related cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6372 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ipsec-tools/Makefile')
-rw-r--r--package/ipsec-tools/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile
index 5951649ade..67772f126c 100644
--- a/package/ipsec-tools/Makefile
+++ b/package/ipsec-tools/Makefile
@@ -31,15 +31,7 @@ define Package/ipsec-tools
URL:=http://ipsec-tools.sourceforge.net/
endef
-define Build/Configure
- (cd $(PKG_BUILD_DIR); touch \
- configure.ac \
- aclocal.m4 \
- Makefile.in \
- config.h.in \
- configure \
- );
- $(call Build/Configure/Default, \
+CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
--with-kernel-headers="$(LINUX_DIR)/include" \
@@ -48,8 +40,17 @@ define Build/Configure
--without-libradius \
--without-libpam \
--enable-dpd \
- --enable-natt \
+ --enable-natt
+
+define Build/Configure
+ (cd $(PKG_BUILD_DIR); touch \
+ configure.ac \
+ aclocal.m4 \
+ Makefile.in \
+ config.h.in \
+ configure \
);
+ $(call Build/Configure/Default)
endef
# override CFLAGS holding "-Werror" that break builds on compile warnings