Allow to override fetch option by $FETCHINDEX variable.
Approved by: portmgr (krion)
This commit is contained in:
parent
d1140c6c15
commit
16726a6a5b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121741
3
Makefile
3
Makefile
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user