mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
Merge pull request #2395 from pullmoll/firefox-esr
firefox-esr: fix arm*-musl
This commit is contained in:
commit
2d604b55ef
1 changed files with 11 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'firefox-esr'.
|
# Template build file for 'firefox-esr'.
|
||||||
pkgname=firefox-esr
|
pkgname=firefox-esr
|
||||||
version=38.2.1
|
version=38.2.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="mozilla-esr${version%%.*}"
|
wrksrc="mozilla-esr${version%%.*}"
|
||||||
short_desc="Lightweight gecko-based web browser"
|
short_desc="Lightweight gecko-based web browser"
|
||||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
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"
|
depends="nss>=3.17 desktop-file-utils hicolor-icon-theme"
|
||||||
conflicts="firefox>=0"
|
conflicts="firefox>=0"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$CROSS_BUILD" ]; then
|
||||||
armv[67]l-musl) broken="http://build.voidlinux.eu/builders/armv6l-musl_builder/builds/3641/steps/shell_3/logs/stdio";;
|
# Make config/system_wrappers/alsa/alsalib.h and pulse/pulse.h find
|
||||||
esac
|
# 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() {
|
pre_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
|
Loading…
Add table
Reference in a new issue