diff --git a/srcpkgs/libopenal/template b/srcpkgs/libopenal/template index f202afa4814..8f8ffd8537f 100644 --- a/srcpkgs/libopenal/template +++ b/srcpkgs/libopenal/template @@ -1,7 +1,7 @@ # Template file for 'libopenal' pkgname=libopenal version=1.17.2 -revision=3 +revision=4 build_style=cmake wrksrc="openal-soft-${version}" hostmakedepends="pkg-config" @@ -13,6 +13,14 @@ homepage="http://kcat.strangesoft.net/openal.html" distfiles="http://kcat.strangesoft.net/openal-releases/openal-soft-${version}.tar.bz2" checksum=a341f8542f1f0b8c65241a17da13d073f18ec06658e1a1606a8ecc8bbc2b3314 +pre_configure() { + case "$XBPS_TARGET_MACHINE" in + armv6*) # Hack to not compile (broken) arm_neon.h inlining of indirect function calls + sed -i CMakeLists.txt -e"s;arm_neon.h;arm_neon.xxx;" + ;; + esac +} + post_install() { rm -f ${DESTDIR}/usr/share/openal/alsoftrc.sample vsconf alsoftrc.sample