svn commit: r414399 - head/Tools/scripts

Antoine Brodin antoine at FreeBSD.org
Sun May 1 08:04:34 UTC 2016


Author: antoine
Date: Sun May  1 08:04:32 2016
New Revision: 414399
URL: https://svnweb.freebsd.org/changeset/ports/414399

Log:
  MFportsindexbuild: build INDEX-9 with fmake

Modified:
  head/Tools/scripts/tindex

Modified: head/Tools/scripts/tindex
==============================================================================
--- head/Tools/scripts/tindex	Sun May  1 08:00:15 2016	(r414398)
+++ head/Tools/scripts/tindex	Sun May  1 08:04:32 2016	(r414399)
@@ -153,9 +153,14 @@ for branch in 9.x 10.x 11.x; do
     eval _osver=\$OSVERSION${release}
     export OSVERSION=${_osver}
 
+    if [ "${release}" = "9" ]; then
+        MAKE_CMD=fmake
+    else
+        MAKE_CMD=make
+    fi
     echo "Building INDEX for ${branch} with OSVERSION=${OSVERSION}"
     cd ${PORTSDIR}
-    ((make index 2> index.err) > index.out) || indexfail ${branch}
+    ((${MAKE_CMD} index 2> index.err) > index.out) || indexfail ${branch}
     if [ -s index.err ]; then
         indexfail ${branch}
     fi


More information about the svn-ports-head mailing list