yafc: force full autoreconf, fix cross compilation after reconf
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 13 Dec 2010 01:20:07 +0000 (01:20 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 13 Dec 2010 01:20:07 +0000 (01:20 +0000)
SVN-Revision: 24533

net/yafc/Makefile
net/yafc/patches/001-cross_compile.patch [deleted file]

index 2806aae99e237a3cd596d0057f550b6fe0c3f530..099bb45830ba50d80547fc76846e0015ddab9c41 100644 (file)
@@ -16,6 +16,7 @@ PKG_SOURCE_URL:=@SF/$(PKG_NAME)
 PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
 
 PKG_FIXUP:=libtool
+PKG_REMOVE_FILES:=autogen.sh aclocal.m4
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -29,6 +30,8 @@ define Package/yafc
 endef
 
 # uses GNU configure
+CONFIGURE_VARS += \
+       bash_cv_func_sigsetjmp=missing
 
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR)
diff --git a/net/yafc/patches/001-cross_compile.patch b/net/yafc/patches/001-cross_compile.patch
deleted file mode 100644 (file)
index 11ec60e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- yafc-1.1.1/configure       2005-10-06 08:26:31.000000000 +0200
-+++ yafc-1.1.1.new/configure   2006-07-11 13:40:21.000000000 +0200
-@@ -24640,7 +24640,7 @@
- fi
--
-+cross_compiling=no
- echo "$as_me:$LINENO: checking for presence of POSIX-style sigsetjmp/siglongjmp" >&5
- echo $ECHO_N "checking for presence of POSIX-style sigsetjmp/siglongjmp... $ECHO_C" >&6
- if test "${bash_cv_func_sigsetjmp+set}" = set; then
-@@ -24659,7 +24659,7 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h.  */
--
-+cross_compiling=yes
- #ifdef HAVE_UNISTD_H
- #include <unistd.h>
- #endif