[arch-commits] Commit in firefox/trunk (PKGBUILD)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Tue Apr 30 12:15:48 UTC 2013


    Date: Tuesday, April 30, 2013 @ 14:15:47
  Author: foutrelis
Revision: 183987

upgpkg: firefox 20.0.1-3

libpng 1.6 rebuild.

Modified:
  firefox/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-30 10:25:23 UTC (rev 183986)
+++ PKGBUILD	2013-04-30 12:15:47 UTC (rev 183987)
@@ -4,7 +4,7 @@
 
 pkgname=firefox
 pkgver=20.0.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Standalone web browser from mozilla.org"
 arch=('i686' 'x86_64')
 license=('MPL' 'GPL' 'LGPL')
@@ -26,7 +26,7 @@
          '0d053487907de4376d67d8f499c5502b'
          '52e52f840a49eb1d14be1c0065b03a93')
 
-build() {
+prepare() {
   cd mozilla-release
 
   cp ../mozconfig .mozconfig
@@ -44,9 +44,12 @@
 
   # configure script misdetects the preprocessor without an optimization level
   # https://bugs.archlinux.org/task/34644
-  # TODO: re-enable when we're building with GCC >= 4.8 again
-  #sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure
+  sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure
+}
 
+build() {
+  cd mozilla-release
+
   export PATH="$srcdir/path:$PATH"
   export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/lib/firefox"
   export PYTHON="/usr/bin/python2"




More information about the arch-commits mailing list