diff options
author | obache <obache@pkgsrc.org> | 2013-12-16 05:47:43 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-12-16 05:47:43 +0000 |
commit | dc040a4fa20642a58b993677716bf7ed751fc3a9 (patch) | |
tree | abc404cd5e4990ff13f635ca3505e70896f6d549 /mk | |
parent | 3f0481427bbabb7d7e25a0e05cb0900ccc69ad3b (diff) | |
download | pkgsrc-dc040a4fa20642a58b993677716bf7ed751fc3a9.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')
-rw-r--r-- | mk/defaults/mk.conf | 6 |
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, |