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.

@@ -204,11 +204,11 @@
 #############################################################################
 # Set the LANG to C as the assembler will freak out on unicode in headers
 LANG=C
 export LANG
 # Set the path - This can be overriden/extended in the build script
-PATH="/opt/gcc-4.8.1/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/gnu/bin:/usr/sfw/bin"
+PATH="/opt/gcc-5.1.0/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/gnu/bin:/usr/sfw/bin"
 export PATH
 # The dir where this file is located - used for sourcing further files
 MYDIR=$PWD/`dirname $BASH_SOURCE[0]`
 # The dir where this file was sourced from - this will be the directory of the
 # build script

@@ -229,11 +229,11 @@
 process_opts $@
 shift $((OPTIND - 1))
 
 BasicRequirements(){
     local needed=""
-    [[ -x /opt/gcc-4.8.1/bin/gcc ]] || needed+=" developer/gcc48"
+    [[ -x /opt/gcc-5.1.0/bin/gcc ]] || needed+=" developer/gcc51"
     [[ -x /usr/bin/ar ]] || needed+=" developer/object-file"
     [[ -x /usr/bin/ld ]] || needed+=" developer/linker"
     [[ -f /usr/lib/crt1.o ]] || needed+=" developer/library/lint"
     [[ -x /usr/bin/gmake ]] || needed+=" developer/build/gnu-make"
     [[ -f /usr/include/sys/types.h ]] || needed+=" system/header"

@@ -382,10 +382,20 @@
     logmsg "Running autoconf"
     pushd $TMPDIR/$BUILDDIR > /dev/null
     logcmd autoconf || logerr "Failed to run autoconf"
     popd > /dev/null
 }
+
+#############################################################################
+# People that need this should call it explicitly
+#############################################################################
+run_automake() {
+    logmsg "Running automake"
+    pushd $TMPDIR/$BUILDDIR > /dev/null
+    logcmd automake || logerr "Failed to run automake"
+    popd > /dev/null
+}
 
 #############################################################################
 # Stuff that needs to be done/set before we start building
 #############################################################################
 prep_build() {