Print this page
Some packages need to specify -std=gnu89 to compile, and gcc51 defaults to
gnu11 now.
Also, updated mozilla-nss-nspr to 3.19 and 4.10.8, respectively.
Other packages up to gcc51 runtime
@@ -26,13 +26,13 @@
#
# Load support functions
. ../../lib/functions.sh
PROG=nss
-VER=3.17.4
+VER=3.19
# Include NSPR version since we're downloading a combined tarball.
-NSPRVER=4.10.7
+NSPRVER=4.10.8
# But set BUILDDIR to just be the NSS version.
BUILDDIR=$PROG-$VER
VERHUMAN=$VER
PKG=$PROG ##IGNORE##
SUMMARY="Not the real summary"
@@ -51,10 +51,13 @@
libnssckbi.so libnssdbm3.so
libnssutil3.so libsmime3.so
libsoftokn3.so libssl3.so"
NSPR_LIBS="libnspr4.so libplc4.so libplds4.so"
+# Use old gcc4 standards level for this.
+export OS_CFLAGS="-std=gnu89"
+
# Variables that switch between NSS and NSPR
TGT_LIBS=$NSS_LIBS
PC_FILE=nss.pc
LOCAL_MOG_FILE=nss-local.mog
@@ -146,11 +149,11 @@
PKG=system/library/mozilla-nss/header-nss
SUMMARY="Network Security Services Headers"
DESC="$SUMMARY"
make_package header-nss.mog
-DEPENDS_IPS="SUNWcs system/library/gcc-4-runtime system/library
+DEPENDS_IPS="SUNWcs system/library/gcc-5-runtime system/library
library/nspr database/sqlite-3"
PKG=system/library/mozilla-nss
SUMMARY="Network Security Services Libraries"
DESC="$SUMMARY"
make_package nss.mog
@@ -200,11 +203,11 @@
PKG=library/nspr/header-nspr
SUMMARY="Netscape Portable Runtime Headers"
DESC="$SUMMARY"
make_package header-nspr.mog
-DEPENDS_IPS="SUNWcs system/library/gcc-4-runtime system/library"
+DEPENDS_IPS="SUNWcs system/library/gcc-5-runtime system/library"
PKG=library/nspr
SUMMARY="Netscape Portable Runtime"
DESC="$SUMMARY"
make_package nspr.mog