gmic: fix build on ppc

This commit is contained in:
q66 2019-12-18 02:43:02 +01:00
parent 3938774f05
commit 60ca9efc4c

View file

@ -20,6 +20,10 @@ nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/8869/steps/s
pre_build() {
# Fix library names for openexr-2.4.0
vsed -i Makefile -e "s;-lIlmImf -lHalf;-lIlmImf-2_4 -lHalf-2_4;"
# Not supported on ppc but we already compile for baselines
case "$XBPS_TARGET_MACHINE" in
ppc*) vsed -i Makefile -e 's;-mtune=generic;;' ;;
esac
}
post_install() {