From da3bae77627f05bcf96c316b340c05f51e5c6fc1 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sat, 20 May 2006 18:22:50 +0000 Subject: expat 2.0.0 fix build (the m4 file needs to be present during autoreconf) --- packages/expat/expat_2.0.0.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/expat/expat_2.0.0.bb b/packages/expat/expat_2.0.0.bb index b3bbe54b02..56ffea86dd 100644 --- a/packages/expat/expat_2.0.0.bb +++ b/packages/expat/expat_2.0.0.bb @@ -1,8 +1,8 @@ -SECTION = "libs" DESCRIPTION = "Jim Clarkes XML parser library." HOMEPAGE = "http://expat.sourceforge.net/" +SECTION = "libs" LICENSE = "MIT" -PR = "r0" +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \ file://autotools.patch;patch=1" @@ -11,18 +11,19 @@ S = "${WORKDIR}/expat-${PV}" inherit autotools lib_package export LTCC = "${CC}" -do_configure () { +do_configure() { rm -f ${S}/conftools/libtool.m4 + touch ${S}/conftools/libtool.m4 autotools_do_configure } -do_stage () { +do_stage() { install -m 0644 ${S}/lib/expat.h ${STAGING_INCDIR}/ install -m 0644 ${S}/lib/expat_external.h ${STAGING_INCDIR}/ oe_libinstall -so libexpat ${STAGING_LIBDIR} } -do_install () { +do_install() { oe_runmake prefix="${D}${prefix}" \ bindir="${D}${bindir}" \ libdir="${D}${libdir}" \ -- cgit v1.2.3