diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 09:15:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:28:49 +0100 |
commit | 37cf162998b13d7d594c7ed68c47d440a3033ed5 (patch) | |
tree | c5b3e4e0e5f961f444070c5b39c372020c18d935 /meta/recipes-support | |
parent | 54cdbe67ef835120b7f6c8b2639f9e6c785cbf99 (diff) | |
download | poky-37cf162998b13d7d594c7ed68c47d440a3033ed5.tar.gz |
libxml2/libxslt: Don't depend on ansidecl.h header
We don't DEPEND on binutils for ansidecl.h so ensure we should never
use the header. This makes builds determinstic and means something like:
bitbake binutils
bitbake libxml2 -c configure
bitbake binutils -c clean
bitbake libxml2
doen't fail to build.
(From OE-Core rev: fe6cabfb0c6f382ef6131e07437b90c2afbf5488)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libxslt/libxslt_1.1.26.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-support/libxslt/libxslt_1.1.26.bb b/meta/recipes-support/libxslt/libxslt_1.1.26.bb index 8986e20723..e4cc21472b 100644 --- a/meta/recipes-support/libxslt/libxslt_1.1.26.bb +++ b/meta/recipes-support/libxslt/libxslt_1.1.26.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458" | |||
7 | 7 | ||
8 | SECTION = "libs" | 8 | SECTION = "libs" |
9 | DEPENDS = "libxml2" | 9 | DEPENDS = "libxml2" |
10 | PR = "r7" | 10 | PR = "r8" |
11 | 11 | ||
12 | SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \ | 12 | SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \ |
13 | file://pkgconfig_fix.patch" | 13 | file://pkgconfig_fix.patch" |
@@ -18,6 +18,11 @@ S = "${WORKDIR}/libxslt-${PV}" | |||
18 | 18 | ||
19 | inherit autotools pkgconfig binconfig lib_package | 19 | inherit autotools pkgconfig binconfig lib_package |
20 | 20 | ||
21 | # We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header | ||
22 | do_configure_prepend () { | ||
23 | sed -i -e 's/ansidecl.h//' ${S}/configure.in | ||
24 | } | ||
25 | |||
21 | EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto" | 26 | EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto" |
22 | # older versions of this recipe had ${PN}-utils | 27 | # older versions of this recipe had ${PN}-utils |
23 | RPROVIDES_${PN}-bin += "${PN}-utils" | 28 | RPROVIDES_${PN}-bin += "${PN}-utils" |