diff options
author | obache <obache> | 2008-09-07 08:17:39 +0000 |
---|---|---|
committer | obache <obache> | 2008-09-07 08:17:39 +0000 |
commit | 3412bb6683282ed641f8e0a586fbbc5ce347b721 (patch) | |
tree | ff02d1728a644ecab17a4937136cebdfb5f61c5c /mk/fetch | |
parent | 2bd8d931f75d6a207c9107d68e0c9124834dea4e (diff) | |
download | pkgsrc-3412bb6683282ed641f8e0a586fbbc5ce347b721.tar.gz |
Add FETCH_*_ARGS templates for curl.
Should be solution for PR 39208.
Diffstat (limited to 'mk/fetch')
-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} \ |