gimp: use no_generic_pkgconfig_link

This commit is contained in:
John 2020-05-07 19:45:16 +02:00
parent 953f4b47a9
commit c796595c2f
No known key found for this signature in database
GPG key ID: 5FDE97AF468A09B7

View file

@ -20,13 +20,12 @@ distfiles="https://download.gimp.org/pub/gimp/v${version%.*}/gimp-${version}.tar
checksum=65bfe111e8eebffd3dde3016ccb507f9948d2663d9497cb438d9bb609e11d716
python_version=2 #unverified
lib32disabled=yes
no_generic_pkgconfig_link=yes
pre_configure() {
NOCONFIGURE=1 autoreconf -fi
if [ "$CROSS_BUILD" ]; then
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
}