mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
gimp: fix cross builds
gimp was calling pkg-config assuming that it won't be a wrapper for cross builds, which resulted in cross flags getting leaked into native tools.
This commit is contained in:
parent
8a4edd90db
commit
d1ad03a3c4
1 changed files with 2 additions and 4 deletions
|
@ -21,14 +21,12 @@ checksum=65bfe111e8eebffd3dde3016ccb507f9948d2663d9497cb438d9bb609e11d716
|
||||||
python_version=2 #unverified
|
python_version=2 #unverified
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
arm*) nocross="https://build.voidlinux.org/builders/armv6l_builder/builds/24795/steps/shell_3/logs/stdio" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 autoreconf -fi
|
NOCONFIGURE=1 autoreconf -fi
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
sed -i 's:^py_prefix=`:py_prefix='"$XBPS_CROSS_BASE"'`:' configure
|
sed -i 's:^py_prefix=`:py_prefix='"$XBPS_CROSS_BASE"'`:' configure
|
||||||
|
rm "${XBPS_WRAPPERDIR}/pkg-config"
|
||||||
|
export PKG_CONFIG="${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue