Allow to override fetch option by $FETCHINDEX variable.

Approved by:	portmgr (krion)
This commit is contained in:
Jun Kuriyama 2004-11-16 09:12:34 +00:00
parent d1140c6c15
commit 16726a6a5b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121741

View File

@ -71,8 +71,9 @@ index:
@cd ${.CURDIR} && make ${.CURDIR}/${INDEXFILE}
fetchindex:
@cd ${.CURDIR} && fetch -am http://www.FreeBSD.org/ports/${INDEXFILE}.bz2 && bunzip2 -f ${INDEXFILE}.bz2 && chmod a+r ${INDEXFILE}
@cd ${.CURDIR} && ${FETCHINDEX} http://www.FreeBSD.org/ports/${INDEXFILE}.bz2 && bunzip2 -f ${INDEXFILE}.bz2 && chmod a+r ${INDEXFILE}
FETCHINDEX?= fetch -am
INDEX_JOBS?= 2
.if !defined(INDEX_VERBOSE)