From 5d3621d2d7be8cefd55dd976a5b20b41b4125633 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Mon, 20 Jan 2020 08:31:23 -0500 Subject: [iceweasel]: wip - i686 --- libre/iceweasel/PKGBUILD | 172 +++++++++++++++++++++++++++-------------------- 1 file changed, 99 insertions(+), 73 deletions(-) (limited to 'libre/iceweasel') diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index 0e6ac05eb..d7cc864ba 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -135,15 +135,15 @@ ac_add_options --disable-tests ac_add_options --disable-eme END - if [[ $CARCH = armv7h ]]; then - # TODO: fixme - false - fi - - if [[ $CARCH = i686 ]]; then - # disable LTO and use gcc toolchain (clang has issues on IA32) - export MOZ_SOURCE_CHANGESET="DEVEDITION_${pkgver//./_}_RELEASE" - cat >>../mozconfig <>../mozconfig <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - <.mozconfig ../mozconfig - < "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf - fi + ## [ARCH-SPECIFIC INSTALL] ## + case ${CARCH} in + armv7h) + ;; + i686) + # libxul.so cannot find it's libraries + install -dm 755 "${pkgdir}"/etc/ld.so.conf.d + echo "/usr/lib/${pkgname}" > "${pkgdir}"/etc/ld.so.conf.d/${pkgname}.conf + ;; + x86_64) + ;; + *) error "no [ARCH-SPECIFIC INSTALL] for arch: ${CARCH}" ; return 1 ; + ;; + esac # Replace duplicate binary with wrapper # https://bugzilla.mozilla.org/show_bug.cgi?id=658850 -- cgit v1.2.3