summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-06-12 09:54:52 +0000
committerobache <obache@pkgsrc.org>2007-06-12 09:54:52 +0000
commit7ca7b65ff470ea73c17b85c3e5a9e188dee3541b (patch)
tree58e6cbfb797efba9eda96a978f8ce21c72e8b210 /mk/fetch
parente682878adba0110f6348fa3e954b89306b148a1d (diff)
downloadpkgsrc-7ca7b65ff470ea73c17b85c3e5a9e188dee3541b.tar.gz
Define some variables for using FETCH_CMD=wget.
Diffstat (limited to 'mk/fetch')
-rw-r--r--mk/fetch/fetch.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk
index 6f8016cdc22..1214ce9dee9 100644
--- a/mk/fetch/fetch.mk
+++ b/mk/fetch/fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.24 2006/12/29 20:14:57 schmonz Exp $
+# $NetBSD: fetch.mk,v 1.25 2007/06/12 09:54:52 obache Exp $
_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
_MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -220,6 +220,11 @@ _FETCH_AFTER_ARGS.ftp= # empty
_FETCH_RESUME_ARGS.ftp= -R
_FETCH_OUTPUT_ARGS.ftp= -o
+_FETCH_BEFORE_ARGS.wget= # empty
+_FETCH_AFTER_ARGS.wget= # empty
+_FETCH_RESUME_ARGS.wget= -c
+_FETCH_OUTPUT_ARGS.wget= -O
+
_FETCH_CMD= ${SETENV} CHECKSUM=${_CHECKSUM_CMD:Q} \
CP=${TOOLS_CP:Q} \
ECHO=${TOOLS_ECHO:Q} \