summaryrefslogtreecommitdiff
path: root/mk/defaults
diff options
context:
space:
mode:
authorobache <obache>2013-12-16 05:47:43 +0000
committerobache <obache>2013-12-16 05:47:43 +0000
commitfc4b59c63454fc1fb4a295101b84adbf9cef1b51 (patch)
treeabc404cd5e4990ff13f635ca3505e70896f6d549 /mk/defaults
parent6a4d4ac7ab286248ab9c9b5757a783b175a02eed (diff)
downloadpkgsrc-fc4b59c63454fc1fb4a295101b84adbf9cef1b51.tar.gz
Switch FETCH_USING to "fetch" by default on FreeBSD.
It exists by default and much functional support than "ftp" from net/tnftp.
Diffstat (limited to 'mk/defaults')
-rw-r--r--mk/defaults/mk.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf
index 79d36327e11..f5f0eff4626 100644
--- a/mk/defaults/mk.conf
+++ b/mk/defaults/mk.conf
@@ -1,4 +1,4 @@
-# $NetBSD: mk.conf,v 1.226 2013/12/05 11:49:13 obache Exp $
+# $NetBSD: mk.conf,v 1.227 2013/12/16 05:47:43 obache Exp $
#
# This file provides default values for variables that may be overridden
@@ -351,7 +351,11 @@ DEFAULT_VIEW?= ""
# This is the default view to which packages are added after installation.
# Default: "" (the empty view)
+.if ${OPSYS} == "FreeBSD"
+FETCH_USING?= fetch
+.else
FETCH_USING?= ftp
+.endif
# The program type to fetch files.
# "manual" will explicitly fail if the DISTFILES don't exist locally.
# "custom" requires setting FETCH_CMD, FETCH_BEFORE_ARGS, FETCH_AFTER_ARGS,