[packages] apr: force full autoreconfig, fix compilation after reconf
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Dec 2010 18:19:06 +0000 (18:19 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Dec 2010 18:19:06 +0000 (18:19 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24395 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/apr/Makefile
libs/apr/patches/001-autoconf-compat.patch [new file with mode: 0644]

index 29c242d..d1bf55d 100644 (file)
@@ -16,6 +16,8 @@ PKG_SOURCE_URL:=http://www.ibiblio.org/pub/mirrors/apache/apr
 PKG_MD5SUM:=4b00e8f70c067893d075577962656b35
 
 PKG_FIXUP:=libtool
+PKG_REMOVE_FILES:=build/libtool.m4 build/ltmain.sh
+
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
diff --git a/libs/apr/patches/001-autoconf-compat.patch b/libs/apr/patches/001-autoconf-compat.patch
new file mode 100644 (file)
index 0000000..0f383eb
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -3,6 +3,7 @@ srcdir=@srcdir@
+ VPATH=@srcdir@
+ top_srcdir=@apr_srcdir@
+ top_blddir=@apr_builddir@
++top_builddir=@top_builddir@
+ #
+ # APR (Apache Portable Runtime) library Makefile.