summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-12-14 16:46:24 +0000
committerryoon <ryoon@pkgsrc.org>2012-12-14 16:46:24 +0000
commit02b8662ca2b1064dce396b174835661a9b47176d (patch)
treee70a1283b57e8bb8ceb43ef0e3bcd5f5ff119caf
parentcc9c4085ad44296360e09ef7fc58a2113356fa06 (diff)
downloadpkgsrc-02b8662ca2b1064dce396b174835661a9b47176d.tar.gz
Clear FTPUSERAGENT environment variable.
When FTPUSERAGENT="Mozilla/1.0", for example, fetching from MASTER_SITE_SOURCEFORGE fails. Original problem is reported from tsutsui@.
-rw-r--r--mk/fetch/fetch.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk
index fdbccffd3e1..3b5af423884 100644
--- a/mk/fetch/fetch.mk
+++ b/mk/fetch/fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.56 2012/07/27 10:48:36 jperkin Exp $
+# $NetBSD: fetch.mk,v 1.57 2012/12/14 16:46:24 ryoon Exp $
_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
_MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -242,6 +242,7 @@ _FETCH_OUTPUT_ARGS.custom= ${FETCH_OUTPUT_ARGS}
_FETCH_CMD= ${PKGSRC_SETENV} CHECKSUM=${_CHECKSUM_CMD:Q} \
CP=${TOOLS_CP:Q} \
ECHO=${TOOLS_ECHO:Q} \
+ FTPUSERAGENT= \
FETCH_CMD=${_FETCH_CMD.${FETCH_USING}:Q} \
FETCH_BEFORE_ARGS=${_FETCH_BEFORE_ARGS.${FETCH_USING}:Q} \
FETCH_AFTER_ARGS=${_FETCH_AFTER_ARGS.${FETCH_USING}:Q} \