firefox-esr: unconditionally add ppc64 jit files
The build system references them even on non-ppc64 platforms.
This commit is contained in:
parent
4bd737cd80
commit
d86d29fd6e
|
@ -11,8 +11,10 @@ short_desc="Mozilla Firefox web browser - Extended Support Release"
|
|||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||
homepage="https://www.mozilla.org/firefox/"
|
||||
distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz"
|
||||
checksum=75e98daf53c5aea19d711a625d5d5e6dfdc8335965d3a19567c62f9d2961fc75
|
||||
distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz
|
||||
https://github.com/chmeeedalf/gecko-dev/files/7729086/esrppcjit.tar.gz"
|
||||
checksum="75e98daf53c5aea19d711a625d5d5e6dfdc8335965d3a19567c62f9d2961fc75
|
||||
5e926a8be5d6d4949c3bc3eb98e2103692eaa26a98928db432b1d44b535f7241"
|
||||
|
||||
lib32disabled=yes
|
||||
|
||||
|
@ -37,14 +39,6 @@ case $XBPS_TARGET_MACHINE in
|
|||
ppc*) broken="xptcall bitrot" ;;
|
||||
esac
|
||||
|
||||
# ppc64le jit, see --enable-jit later
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64le*)
|
||||
distfiles+=" https://github.com/chmeeedalf/gecko-dev/files/7729086/esrppcjit.tar.gz"
|
||||
checksum+=" 5e926a8be5d6d4949c3bc3eb98e2103692eaa26a98928db432b1d44b535f7241"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
fi
|
||||
|
@ -70,12 +64,7 @@ post_extract() {
|
|||
esac
|
||||
|
||||
# ppc64le jit, see --enable-jit later
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64le*)
|
||||
mv ../js/src/jit/ppc64 js/src/jit
|
||||
rm -rf ../js
|
||||
;;
|
||||
esac
|
||||
mv ../js/src/jit/ppc64 js/src/jit
|
||||
|
||||
# Mozilla API keys (see https://location.services.mozilla.com/api)
|
||||
# Note: This is for Void Linux use ONLY.
|
||||
|
@ -107,8 +96,11 @@ do_build() {
|
|||
# https://www.talospace.com/2021/12/91esr-with-baseline-compilerbaseline.html
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64le*) echo "ac_add_options --enable-jit" >>.mozconfig ;;
|
||||
ppc64*) ;;
|
||||
ppc*) echo "ac_add_options --disable-webrtc" >>.mozconfig ;;
|
||||
ppc64*) echo "ac_add_options --disable-jit" >>.mozconfig ;;
|
||||
ppc*)
|
||||
echo "ac_add_options --disable-jit" >>.mozconfig
|
||||
echo "ac_add_options --disable-webrtc" >>.mozconfig
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
|
|
Loading…
Reference in New Issue