Fix the expat build to properly use -our- libtool bits.
authorChris Larson <clarson@kergoth.com>
Fri, 14 May 2004 04:47:52 +0000 (04:47 +0000)
committerChris Larson <clarson@kergoth.com>
Fri, 14 May 2004 04:47:52 +0000 (04:47 +0000)
BKrev: 40a44f78pCkGjY4y6sjT3WR-cvtqPQ

expat/expat-1.95.7/autotools.patch [new file with mode: 0644]
expat/expat_1.95.7.oe

diff --git a/expat/expat-1.95.7/autotools.patch b/expat/expat-1.95.7/autotools.patch
new file mode 100644 (file)
index 0000000..e69de29
index 05abd25..a230913 100644 (file)
@@ -1,12 +1,18 @@
 DESCRIPTION = "Jim Clarkes XML parser library."
 DEPENDS = "virtual/libc"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
+          file://${FILESDIR}/autotools.patch;patch=1"
 S = "${WORKDIR}/expat-${PV}"
 
-inherit autotools  lib_package
+inherit autotools lib_package
 export LTCC = "${CC}"
 
+do_configure () {
+       rm -f ${S}/conftools/libtool.m4
+       autotools_do_configure
+}
+
 do_stage () {
        install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/
        oe_libinstall -so libexpat ${STAGING_LIBDIR}