summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-03-20 16:23:48 +0000
committerjoerg <joerg@pkgsrc.org>2009-03-20 16:23:48 +0000
commit154297067e3aeb7fb58272d9de7c33b2e4ce8b5b (patch)
tree3caaccadae0e47db4152b7d0b09bfa191370d488 /mk
parentabdbc197d8a4de3a8c24c86dd99158d7d55521cf (diff)
downloadpkgsrc-154297067e3aeb7fb58272d9de7c33b2e4ce8b5b.tar.gz
Only add dependency on the fetch program, if there is something to
fetch.
Diffstat (limited to 'mk')
-rw-r--r--mk/fetch/bsd.fetch-vars.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/fetch/bsd.fetch-vars.mk b/mk/fetch/bsd.fetch-vars.mk
index 77f98efc9fd..0ea60e495d8 100644
--- a/mk/fetch/bsd.fetch-vars.mk
+++ b/mk/fetch/bsd.fetch-vars.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.fetch-vars.mk,v 1.12 2009/02/10 18:55:54 joerg Exp $
+# $NetBSD: bsd.fetch-vars.mk,v 1.13 2009/03/20 16:23:48 joerg Exp $
#
# This Makefile fragment is included separately by bsd.pkg.mk and
# defines some variables which must be defined earlier than where
@@ -83,5 +83,7 @@ _FETCH_DEPENDS.wget= wget-[0-9]*:../../net/wget
_FETCH_DEPENDS.curl= curl-[0-9]*:../../www/curl
_FETCH_TOOLS.manual= false
+.if !empty(_ALLFILES)
USE_TOOLS+= ${_FETCH_TOOLS.${FETCH_USING}:C/$/:bootstrap/}
BOOTSTRAP_DEPENDS+= ${_FETCH_DEPENDS.${FETCH_USING}}
+.endif