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

Jan de Groot jgc at archlinux.org
Sun Jun 8 12:28:50 UTC 2008


    Date: Sunday, June 8, 2008 @ 08:28:50
  Author: jgc
Revision: 2576

upgpkg: nspr 4.7.1-1
    Unset CFLAGS, mozilla products have their own optimizations

Modified:
  nspr/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-06-08 12:28:23 UTC (rev 2575)
+++ PKGBUILD	2008-06-08 12:28:50 UTC (rev 2576)
@@ -2,7 +2,7 @@
 # Maintainer: Alexander Baldeck <alexander at archlinux.org>
 # Contributor: Jan de Groot <jgc at archlinux.org>
 pkgname=nspr
-pkgver=4.7
+pkgver=4.7.1
 pkgrel=1
 pkgdesc="Netscape Portable Runtime"
 arch=(i686 x86_64)
@@ -13,17 +13,19 @@
 options=(!emptydirs)
 source=(ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${pkgver}/src/${pkgname}-${pkgver}.tar.gz
 	nspr.pc.in)
-md5sums=('f937c37f45b116130fef34b15afb6fac'
+md5sums=('7c6e75a0867ce2b9ec62e399a908b5ac'
          'bce1611f3117b53fc904cab549c09967')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
   [ "$CARCH" = "x86_64" ] && confflags="--enable-64bit"
+  unset CFLAGS
+  unset CXXFLAGS
   ./mozilla/nsprpub/configure \
   	--prefix=/usr \
 	--libdir=/usr/lib \
 	--includedir=/usr/include/nspr \
-	--enable-optimize="${CFLAGS}" \
+	--enable-optimize \
 	--disable-debug ${confflags} || return 1
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1





More information about the arch-commits mailing list