bamf: hack to fix i686-musl build

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-10-19 17:56:27 +02:00
parent 187490140e
commit 89cfa58b92
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
1 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,13 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir" build_options_default="gir"
fi fi
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
i686-musl) # Checking for python libxslt and libxml2 fails
sed -i configure -e 's;if !($PYTHON -c "import libxslt, libxml2" 2> /dev/null);if false;'
esac
}
bamf-devel_package() { bamf-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}" depends="${makedepends} ${sourcepkg}>=${version}_${revision}"