CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
nss: updated to 3.75
[ports/opt-arm.git] / nss / Pkgfile
index e5ffc86cf6f6a86358f3749edaf0a49ebc646cee..2438b09a2a4e51aa7e0b9f0beb98d5ee967c14dc 100644 (file)
@@ -5,16 +5,15 @@
 # Depends on: nspr sqlite3
 
 name=nss
-version=3.47.1
+version=3.75
 release=1
 source=(http://ftp.mozilla.org/pub/security/nss/releases/NSS_${version//./_}_RTM/src/$name-$version.tar.gz \
-        nss-config.in nss.pc.in)
+        nss-config.in nss.pc.in nss-3.54-standalone-2.patch)
 
 build() {
-cd $name-$version/
-  sed -i nss/coreconf/Linux.mk \
-    -e 's|^CC.*=.*gcc$|#&|' \
-    -e 's|^CCC.*=.*g++$|#&|'
+  cd $name-$version/
+
+  patch -Np1 -i ../nss-3.54-standalone-2.patch
 
   export NSPR_INCLUDE_DIR=/usr/include/nspr
   export NSPR_LIB_DIR=/usr/lib
@@ -25,7 +24,7 @@ cd $name-$version/
   export XCFLAGS="-Wno-error ${CFLAGS}"
   export NSS_DISABLE_GTESTS=1
 
-  make -j1 -C nss
+  make -C nss
 
   install -d $PKG/usr/{bin,lib/pkgconfig,include/nss}