diff options
-rw-r--r-- | mk/fetch/fetch.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk index f3e0da99a50..24b825a01f1 100644 --- a/mk/fetch/fetch.mk +++ b/mk/fetch/fetch.mk @@ -1,4 +1,4 @@ -# $NetBSD: fetch.mk,v 1.34 2008/05/22 16:27:22 joerg Exp $ +# $NetBSD: fetch.mk,v 1.35 2008/09/07 08:17:39 obache Exp $ _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} @@ -206,6 +206,12 @@ _FETCH_AFTER_ARGS.wget= # empty _FETCH_RESUME_ARGS.wget= -c _FETCH_OUTPUT_ARGS.wget= -O +_FETCH_BEFORE_ARGS.curl= # empty +_FETCH_BEFORE_ARGS.curl+= ${PASSIVE_FETCH:D--ftp-pasv} +_FETCH_AFTER_ARGS.curl= -O # must be here to honer -o option +_FETCH_RESUME_ARGS.curl= -C - +_FETCH_OUTPUT_ARGS.curl= -o + _FETCH_CMD= ${SETENV} CHECKSUM=${_CHECKSUM_CMD:Q} \ CP=${TOOLS_CP:Q} \ ECHO=${TOOLS_ECHO:Q} \ |