mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
dev-libs/expat: Apply Flatcar changes
Signed-off-by: Sayan Chowdhury <sayan@kinvolk.io>
This commit is contained in:
parent
564f8f7b1d
commit
39db514ce3
@ -4,7 +4,9 @@
|
|||||||
EAPI=7
|
EAPI=7
|
||||||
AUTOTOOLS_AUTO_DEPEND=no
|
AUTOTOOLS_AUTO_DEPEND=no
|
||||||
AT_NOEAUTOHEADER=yes # because expat_config.h.in would need post-processing
|
AT_NOEAUTOHEADER=yes # because expat_config.h.in would need post-processing
|
||||||
inherit autotools multilib-minimal usr-ldscript
|
|
||||||
|
# Flatcar: Don't inherit usr-ldscript
|
||||||
|
inherit autotools multilib-minimal
|
||||||
|
|
||||||
DESCRIPTION="Stream-oriented XML parser library"
|
DESCRIPTION="Stream-oriented XML parser library"
|
||||||
HOMEPAGE="https://libexpat.github.io/"
|
HOMEPAGE="https://libexpat.github.io/"
|
||||||
@ -73,12 +75,6 @@ multilib_src_install() {
|
|||||||
sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
|
sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
# libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
|
|
||||||
# we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
|
||||||
use elibc_FreeBSD && gen_usr_ldscript -a expat
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_install_all() {
|
multilib_src_install_all() {
|
||||||
|
Loading…
Reference in New Issue
Block a user