From 5fb767155c2866d27a185f879bac98bad84ed47b Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 5 Feb 2019 20:28:52 +0100 Subject: [PATCH] thunderbird: enable on ppc64 [ci skip] --- srcpkgs/thunderbird/files/mozconfig | 1 - srcpkgs/thunderbird/template | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/thunderbird/files/mozconfig b/srcpkgs/thunderbird/files/mozconfig index 5e275c2caa..4d1267b235 100644 --- a/srcpkgs/thunderbird/files/mozconfig +++ b/srcpkgs/thunderbird/files/mozconfig @@ -31,7 +31,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/thunderbird/template b/srcpkgs/thunderbird/template index 3c692221a9..554059ab78 100644 --- a/srcpkgs/thunderbird/template +++ b/srcpkgs/thunderbird/template @@ -12,7 +12,7 @@ license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz" checksum=69a3f741b7378b50a3b6a3b59f6c4fedd2d82d469ab234390627e15da1b58e03 -only_for_archs="i686 i686-musl x86_64 x86_64-musl" +only_for_archs="i686 i686-musl x86_64 x86_64-musl ppc64le ppc64le-musl ppc64-musl" lib32disabled=yes hostmakedepends="autoconf213 unzip zip pkg-config perl python yasm rust cargo @@ -56,6 +56,12 @@ do_build() { ;; esac + case "$XBPS_TARGET_MACHINE" in + x86_64*|i686*|arm*) + echo "ac_add_options --disable-elf-hack" >>.mozconfig + ;; + esac + case "$XBPS_TARGET_MACHINE" in x86_64-musl|i686-musl) echo "ac_add_options --host=${XBPS_TRIPLET}" >>.mozconfig