summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/fetch/fetch.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk
index d3efff9b0c0..706804ee44d 100644
--- a/mk/fetch/fetch.mk
+++ b/mk/fetch/fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.71 2020/03/30 22:44:26 rillig Exp $
+# $NetBSD: fetch.mk,v 1.72 2020/04/25 11:21:06 js Exp $
.if empty(INTERACTIVE_STAGE:Mfetch) && empty(FETCH_MESSAGE:U)
_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -252,6 +252,12 @@ _FETCH_CMD.wget= ${PKGSRC_SETENV} \
${FETCH_PROXY.https:Dhttps_proxy=${FETCH_PROXY.https:Q}} \
${TOOLS_PATH.wget}
+_FETCH_BEFORE_ARGS.ofhttp= # empty (or --insecure to ignore SSL errors)
+_FETCH_AFTER_ARGS.ofhttp= # empty
+_FETCH_RESUME_ARGS.ofhttp= -c
+_FETCH_OUTPUT_ARGS.ofhttp= -o
+_FETCH_CMD.ofhttp= ${PKGSRC_SETENV} ofhttp
+
# Protocol-specific variables are passed as environment variables.
# Generic FETCH_PROXY is passed via the --proxy argument to support
# other protocols like socks4/socks5.