diff options
author | joerg <joerg> | 2008-05-22 20:11:55 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-05-22 20:11:55 +0000 |
commit | 9100c72af91a41a71ca2185580ae22f3de2607af (patch) | |
tree | 0d73c786757287a5cf4c608c47285983c7ed22fc /mk/defaults | |
parent | fd258a52982e4e146b82be04fccaafc978cc0578 (diff) | |
download | pkgsrc-9100c72af91a41a71ca2185580ae22f3de2607af.tar.gz |
Add ftp as tool. On NetBSD and DragonFly, this will use the system
version of tnftp, otherwise it will use net/tnftp. Require ftp as
bootstrap dependency when the package has files to fetch.
The dependency is currently unconditional and FETCH_CMD is set to
TOOLS_PATH.ftp by default.
Diffstat (limited to 'mk/defaults')
-rw-r--r-- | mk/defaults/mk.conf | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index b841e3ed3e4..b9d8b7d382d 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.175 2008/05/22 15:51:35 tnn Exp $ +# $NetBSD: mk.conf,v 1.176 2008/05/22 20:11:55 joerg Exp $ # # This file provides default values for variables that may be overridden @@ -344,11 +344,7 @@ DEFAULT_VIEW?= "" # This is the default view to which packages are added after installation. # Default: "" (the empty view) -.if exists(${LOCALBASE}/bin/ftp) -FETCH_CMD?= ${LOCALBASE}/bin/ftp -.else -FETCH_CMD?= /usr/bin/ftp -.endif +FETCH_CMD?= ${TOOLS_PATH.ftp} # Default program to fetch the files with pkgsrc. # Default: NetBSD's ftp(1). # Possible: any. |