wf-recorder: fix build on ppc*

This commit is contained in:
q66 2020-01-11 22:25:44 +01:00
parent b058b71d14
commit 7fabe953b5
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ homepage="https://github.com/ammen99/wf-recorder"
distfiles="https://github.com/ammen99/${pkgname}/archive/v${version}.tar.gz"
checksum=e35eef43920fc0492cd4702653b613b5ab1caaf070b5f0542db2f5c4d7a90deb
# silly workaround to prevent vector/bool/etc from being defined
case "$XBPS_TARGET_MACHINE" in
ppc*) CXXFLAGS+=" -D__APPLE_ALTIVEC__";;
esac
post_install() {
vlicense LICENSE
}