Merge pull request #2395 from pullmoll/firefox-esr

firefox-esr: fix arm*-musl
This commit is contained in:
Jürgen Buchmüller 2015-08-29 22:31:49 +02:00
commit 2d604b55ef
1 changed files with 11 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template build file for 'firefox-esr'.
pkgname=firefox-esr
version=38.2.1
revision=1
revision=2
wrksrc="mozilla-esr${version%%.*}"
short_desc="Lightweight gecko-based web browser"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
@ -22,9 +22,16 @@ makedepends="nss-devel libjpeg-turbo-devel libpng-devel
depends="nss>=3.17 desktop-file-utils hicolor-icon-theme"
conflicts="firefox>=0"
case "$XBPS_TARGET_MACHINE" in
armv[67]l-musl) broken="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/3641/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