firefox: fire cross arm*-musl

This commit is contained in:
Jürgen Buchmüller 2015-08-30 04:17:42 +02:00
parent 336472dfa6
commit bdff856132

View file

@ -1,7 +1,7 @@
# Template build file for 'firefox'.
pkgname=firefox
version=40.0.3
revision=1
revision=2
wrksrc="mozilla-release"
short_desc="Lightweight gecko-based web browser"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -21,9 +21,16 @@ makedepends="nss-devel libjpeg-turbo-devel libpng-devel
libXt-devel libXdamage-devel"
depends="desktop-file-utils hicolor-icon-theme"
case "$XBPS_TARGET_MACHINE" in
armv[67]l-musl) broken="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/3005/steps/shell_3/logs/stdio";;
esac
if [ "$CROSS_BUILD" ]; then
# Make config/system_wrappers/alsa/alsalib.h and pulse/pulse.h find
# the required includes. Set system nspr and nss include paths.
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/alsa \
-I${XBPS_CROSS_BASE}/usr/include/pulse \
-I${XBPS_CROSS_BASE}/usr/include/nspr \
-I${XBPS_CROSS_BASE}/usr/include/nss"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib"
fi
pre_configure() {
case "$XBPS_TARGET_MACHINE" in