summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2014-10-07 07:27:18 +0000
committertron <tron@pkgsrc.org>2014-10-07 07:27:18 +0000
commit3394457dfe5caa390504549b8d78b2ec589c1344 (patch)
treee8e9b80e842c839023a7ba1d43583bdf365d01e3 /mk
parent8ff7891de4d8b0e7fc68e27dfb1ac851bb20ea66 (diff)
downloadpkgsrc-3394457dfe5caa390504549b8d78b2ec589c1344.tar.gz
Pass "--remote-time" option to "curl" to get correct time stamps
on downloaded files.
Diffstat (limited to 'mk')
-rw-r--r--mk/fetch/fetch.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk
index 9b02d46b5e6..7658088f1fd 100644
--- a/mk/fetch/fetch.mk
+++ b/mk/fetch/fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.63 2014/02/14 07:43:46 obache Exp $
+# $NetBSD: fetch.mk,v 1.64 2014/10/07 07:27:18 tron Exp $
_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
_MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -222,7 +222,7 @@ _FETCH_OUTPUT_ARGS.wget= -O
_FETCH_CMD.wget= ${TOOLS_PATH.wget}
_FETCH_BEFORE_ARGS.curl= ${PASSIVE_FETCH:D--ftp-pasv} \
- --fail --insecure --location \
+ --fail --insecure --location --remote-time \
${FETCH_TIMEOUT:D--connect-timeout ${FETCH_TIMEOUT}} \
${FETCH_TIMEOUT:D--speed-time ${FETCH_TIMEOUT}} \
${FETCH_USE_IPV4_ONLY:D--ipv4}