1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

MFportsindexbuild: build INDEX-9 with fmake

This commit is contained in:
Antoine Brodin 2016-05-01 08:04:32 +00:00
parent 87e7e13e7d
commit b7f3384cc4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414399

View File

@ -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