diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-11-16 09:12:34 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-11-16 09:12:34 +0000 |
commit | 16726a6a5b65667339ec74726b05bd7e7af6cfe6 (patch) | |
tree | 6e828137702cb38f31d5a5c1ce50a5bbf9b0c4a7 /Makefile | |
parent | d1140c6c156e4ba6faa6e4bfdffa386a7d6c79bf (diff) | |
download | ports-16726a6a5b65667339ec74726b05bd7e7af6cfe6.tar.gz ports-16726a6a5b65667339ec74726b05bd7e7af6cfe6.zip |
Allow to override fetch option by $FETCHINDEX variable.
Approved by: portmgr (krion)
Notes
Notes:
svn path=/head/; revision=121741
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |