mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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: 54d27bbc26d1e45e51ee8ef0f051a2bd8f627cc0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -18,6 +18,11 @@ SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
|
|||||||
|
|
||||||
inherit autotools pkgconfig binconfig
|
inherit autotools pkgconfig binconfig
|
||||||
|
|
||||||
|
# We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header
|
||||||
|
do_configure_prepend () {
|
||||||
|
sed -i -e '/.*ansidecl.h.*/d' ${S}/configure.in
|
||||||
|
}
|
||||||
|
|
||||||
EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
|
EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
|
||||||
EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n"
|
EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n"
|
||||||
EXTRA_OECONF_virtclass-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n"
|
EXTRA_OECONF_virtclass-nativesdk = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458"
|
|||||||
|
|
||||||
SECTION = "libs"
|
SECTION = "libs"
|
||||||
DEPENDS = "libxml2"
|
DEPENDS = "libxml2"
|
||||||
PR = "r7"
|
PR = "r8"
|
||||||
|
|
||||||
SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \
|
SRC_URI = "ftp://xmlsoft.org/libxslt//libxslt-${PV}.tar.gz \
|
||||||
file://pkgconfig_fix.patch"
|
file://pkgconfig_fix.patch"
|
||||||
@@ -18,6 +18,11 @@ S = "${WORKDIR}/libxslt-${PV}"
|
|||||||
|
|
||||||
inherit autotools pkgconfig binconfig lib_package
|
inherit autotools pkgconfig binconfig lib_package
|
||||||
|
|
||||||
|
# We don't DEPEND on binutils for ansidecl.h so ensure we don't use the header
|
||||||
|
do_configure_prepend () {
|
||||||
|
sed -i -e 's/ansidecl.h//' ${S}/configure.in
|
||||||
|
}
|
||||||
|
|
||||||
EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto"
|
EXTRA_OECONF = "--without-python --without-debug --without-mem-debug --without-crypto"
|
||||||
# older versions of this recipe had ${PN}-utils
|
# older versions of this recipe had ${PN}-utils
|
||||||
RPROVIDES_${PN}-bin += "${PN}-utils"
|
RPROVIDES_${PN}-bin += "${PN}-utils"
|
||||||
|
|||||||
Reference in New Issue
Block a user