Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2013 12:05:48 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317095 - head
Message-ID:  <201305021205.r42C5m3Y030660@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu May  2 12:05:48 2013
New Revision: 317095
URL: http://svnweb.freebsd.org/changeset/ports/317095

Log:
  Do not hardcode make for make index

Modified:
  head/Makefile

Modified: head/Makefile
==============================================================================
--- head/Makefile	Thu May  2 11:40:04 2013	(r317094)
+++ head/Makefile	Thu May  2 12:05:48 2013	(r317095)
@@ -70,7 +70,7 @@ PORTSTOP=	yes
 
 index:
 	@rm -f ${INDEXDIR}/${INDEXFILE}
-	@cd ${.CURDIR} && make ${INDEXDIR}/${INDEXFILE}
+	@cd ${.CURDIR} && ${MAKE} ${INDEXDIR}/${INDEXFILE}
 
 fetchindex: ${INDEXDIR}/${INDEXFILE}.bz2
 	@bunzip2 < ${INDEXDIR}/${INDEXFILE}.bz2 > ${INDEXDIR}/${INDEXFILE} && \
@@ -112,7 +112,7 @@ ${INDEXDIR}/${INDEXFILE}:
 	fi; \
 	tmpdir=`/usr/bin/mktemp -d -t index` || exit 1; \
 	trap "rm -rf $${tmpdir}; exit 1" 1 2 3 5 10 13 15; \
-	( cd ${.CURDIR}; for i in ${INDEX_PORTS}; do (cd $${i} && make -j${INDEX_JOBS} INDEX_TMPDIR=$${tmpdir} BUILDING_INDEX=1 \
+	( cd ${.CURDIR}; for i in ${INDEX_PORTS}; do (cd $${i} && ${MAKE} -j${INDEX_JOBS} INDEX_TMPDIR=$${tmpdir} BUILDING_INDEX=1 \
 		__MAKE_SHELL=${INDEX_SHELL} \
 		ECHO_MSG="${INDEX_ECHO_MSG}" describe); done ) || \
 		(rm -rf $${tmpdir} ; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305021205.r42C5m3Y030660>