From 35225b52aba0548f78306ce2e0bfbe9bc8563bac Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 25 Nov 2010 18:05:54 +0100 Subject: [PATCH] expat: add autoreconf support Signed-off-by: Stephan Raue --- packages/textproc/expat/build | 4 +++- packages/textproc/expat/meta | 2 ++ .../expat/patches/expat-2.0.1-configure.patch | 21 +++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 packages/textproc/expat/patches/expat-2.0.1-configure.patch diff --git a/packages/textproc/expat/build b/packages/textproc/expat/build index a58bbb0a50..cdefacd081 100755 --- a/packages/textproc/expat/build +++ b/packages/textproc/expat/build @@ -3,8 +3,10 @@ . config/options $1 cd $PKG_BUILD -mkdir -p .build-target && cd .build-target +do_autoreconf -I conftools + +mkdir -p .build-target && cd .build-target ../configure --host=$TARGET_NAME \ --build=$HOST_NAME \ --prefix=/usr \ diff --git a/packages/textproc/expat/meta b/packages/textproc/expat/meta index 0ff604b8d6..db86db551e 100644 --- a/packages/textproc/expat/meta +++ b/packages/textproc/expat/meta @@ -12,3 +12,5 @@ PKG_SECTION="textproc" PKG_SHORTDESC="expat: XML parser library" PKG_LONGDESC="Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags). An introductory article on using Expat is available on xml.com." PKG_IS_ADDON="no" + +PKG_AUTORECONF="no" diff --git a/packages/textproc/expat/patches/expat-2.0.1-configure.patch b/packages/textproc/expat/patches/expat-2.0.1-configure.patch new file mode 100644 index 0000000000..0f92407a8e --- /dev/null +++ b/packages/textproc/expat/patches/expat-2.0.1-configure.patch @@ -0,0 +1,21 @@ +diff -Naur expat-2.0.1-old/configure.in expat-2.0.1-new/configure.in +--- expat-2.0.1-old/configure.in 2007-05-09 06:26:48.000000000 -0700 ++++ expat-2.0.1-new/configure.in 2010-08-17 13:12:17.000000000 -0700 +@@ -31,6 +31,7 @@ + + AC_CONFIG_SRCDIR(Makefile.in) + AC_CONFIG_AUX_DIR(conftools) ++AC_CONFIG_MACRO_DIR([conftools]) + + + dnl +@@ -50,9 +51,6 @@ + + AC_CONFIG_HEADER(expat_config.h) + +-sinclude(conftools/libtool.m4) +-sinclude(conftools/ac_c_bigendian_cross.m4) +- + AC_LIBTOOL_WIN32_DLL + AC_PROG_LIBTOOL +