thunderbird: enable on ppc64

[ci skip]
This commit is contained in:
q66 2019-02-05 20:28:52 +01:00 committed by maxice8
parent 1867bbee5b
commit 5fb767155c
2 changed files with 7 additions and 2 deletions

View file

@ -31,7 +31,6 @@ ac_add_options --disable-gconf
ac_add_options --disable-tests ac_add_options --disable-tests
ac_add_options --disable-crashreporter ac_add_options --disable-crashreporter
ac_add_options --disable-updater ac_add_options --disable-updater
ac_add_options --disable-elf-hack
ac_add_options --disable-install-strip ac_add_options --disable-install-strip
ac_add_options --disable-strip ac_add_options --disable-strip
ac_add_options --disable-profiling ac_add_options --disable-profiling

View file

@ -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" distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz"
checksum=69a3f741b7378b50a3b6a3b59f6c4fedd2d82d469ab234390627e15da1b58e03 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 lib32disabled=yes
hostmakedepends="autoconf213 unzip zip pkg-config perl python yasm rust cargo hostmakedepends="autoconf213 unzip zip pkg-config perl python yasm rust cargo
@ -56,6 +56,12 @@ do_build() {
;; ;;
esac esac
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*)
echo "ac_add_options --disable-elf-hack" >>.mozconfig
;;
esac
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
x86_64-musl|i686-musl) x86_64-musl|i686-musl)
echo "ac_add_options --host=${XBPS_TRIPLET}" >>.mozconfig echo "ac_add_options --host=${XBPS_TRIPLET}" >>.mozconfig