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

Jan de Groot jgc at archlinux.org
Mon Aug 29 14:19:13 UTC 2011


    Date: Monday, August 29, 2011 @ 10:19:12
  Author: jgc
Revision: 136447

upgpkg: nspr 4.8.9-2

Respect LDFLAGS, CFLAGS and CXXFLAGS. The build system will override -O levels anyways, so this should not have any side-effects.

Modified:
  nspr/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-08-29 13:44:50 UTC (rev 136446)
+++ PKGBUILD	2011-08-29 14:19:12 UTC (rev 136447)
@@ -3,7 +3,7 @@
 # Contributor: Alexander Baldeck <alexander at archlinux.org>
 pkgname=nspr
 pkgver=4.8.9
-pkgrel=1
+pkgrel=2
 pkgdesc="Netscape Portable Runtime"
 arch=(i686 x86_64)
 url="http://www.mozilla.org/projects/nspr/"
@@ -23,8 +23,10 @@
   else
     confflags=""
   fi
-  unset CFLAGS
-  unset CXXFLAGS
+
+  sed -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
+      -i mozilla/nsprpub/config/rules.mk
+
   ./mozilla/nsprpub/configure \
       --prefix=/usr \
       --libdir=/usr/lib \




More information about the arch-commits mailing list