aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-05-01 08:04:32 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-05-01 08:04:32 +0000
commitb7f3384cc49d715433d62949b4ac3e0ac03150c1 (patch)
tree0c18ace293d36ae10a90f7dc993b5b244d6783fa /Tools
parent87e7e13e7d49d1288b7247b562c33b6c6ccbc817 (diff)
downloadports-b7f3384cc49d715433d62949b4ac3e0ac03150c1.tar.gz
ports-b7f3384cc49d715433d62949b4ac3e0ac03150c1.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/tindex7
1 files changed, 6 insertions, 1 deletions
diff --git a/Tools/scripts/tindex b/Tools/scripts/tindex
index 6da6f1d2254e..671c7666c889 100755
--- a/Tools/scripts/tindex
+++ b/Tools/scripts/tindex
@@ -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