diff --git a/srcpkgs/firefox-esr/files/mozconfig b/srcpkgs/firefox-esr/files/mozconfig index ac3ab4f26d9..5a3519b1b1c 100644 --- a/srcpkgs/firefox-esr/files/mozconfig +++ b/srcpkgs/firefox-esr/files/mozconfig @@ -36,7 +36,6 @@ ac_add_options --disable-gconf ac_add_options --disable-tests ac_add_options --disable-crashreporter ac_add_options --disable-updater -ac_add_options --disable-elf-hack ac_add_options --disable-install-strip ac_add_options --disable-strip ac_add_options --disable-profiling diff --git a/srcpkgs/firefox-esr/template b/srcpkgs/firefox-esr/template index 1f5f1985902..63e423c6691 100644 --- a/srcpkgs/firefox-esr/template +++ b/srcpkgs/firefox-esr/template @@ -8,8 +8,8 @@ revision=5 wrksrc="firefox-${version}esr" short_desc="Mozilla Firefox web browser - Extended Support Release (ESR)" maintainer="Eivind Uggedal " -homepage="https://www.mozilla.org/firefox/organizations/" license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" +homepage="https://www.mozilla.org/firefox/organizations/" distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz https://aur.archlinux.org/cgit/aur.git/plain/ffmpeg4.patch.gz?h=firefox-esr52>ffmpeg4.patch.gz" checksum="c01d09658c53c1b3a496e353a24dad03b26b81d3b1d099abc26a06f81c199dd6 @@ -59,6 +59,11 @@ post_extract() { do_build() { cp "${FILESDIR}/mozconfig" "${wrksrc}/.mozconfig" + case "$XBPS_TARGET_MACHINE" in + ppc64*) ;; + *) echo "ac_add_options --disable-elf-hack" >>.mozconfig;; + esac + case "$XBPS_TARGET_MACHINE" in *-musl) echo "ac_add_options --disable-jemalloc" >>.mozconfig