expat: upgrade to 2.0.1

[Patches]
  KEEP    _autotools.patch_: avoid using expat's own libtool.m4. add comment

[Recipe]
  - fix SRC_URI format
  - no need to export LTCC, as the default will be ${CC}
  - no need to touch libtool.m4

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
This commit is contained in:
Kevin Tian 2010-07-07 10:26:50 +08:00 committed by Saul Wold
parent cf3796f663
commit 5dcefd18d6
3 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,7 @@
# avoid to use expat's own *.m4
#
# comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-07
diff -bur expat-2.0.0~orig/configure.in expat-2.0.0/configure.in
--- expat-2.0.0~orig/configure.in 2006-01-10 19:10:46.000000000 -0600
+++ expat-2.0.0/configure.in 2006-02-10 19:12:24.000000000 -0600

View File

@ -3,9 +3,7 @@ HOMEPAGE = "http://expat.sourceforge.net/"
SECTION = "libs"
LICENSE = "MIT"
SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz \
"
export LTCC = "${CC}"
SRC_URI = "${SOURCEFORGE_MIRROR}/expat/expat-${PV}.tar.gz"
inherit autotools

View File

@ -1,5 +1,5 @@
require expat.inc
PR = "r3"
PR = "r0"
SRC_URI += "file://autotools.patch;"
@ -7,7 +7,6 @@ inherit lib_package
do_configure_prepend () {
rm -f ${S}/conftools/libtool.m4
touch ${S}/conftools/libtool.m4
}
BBCLASSEXTEND = "native nativesdk"