summaryrefslogtreecommitdiff
path: root/mk/fetch/bsd.fetch-vars.mk
diff options
context:
space:
mode:
authorjoerg <joerg>2009-03-20 16:23:48 +0000
committerjoerg <joerg>2009-03-20 16:23:48 +0000
commitbaf22e5ece574c7db0b76bd1b1899c1ee95a29f8 (patch)
tree3caaccadae0e47db4152b7d0b09bfa191370d488 /mk/fetch/bsd.fetch-vars.mk
parent287a1df98ccf3e02360342a35cde52e36dc5d4a7 (diff)
downloadpkgsrc-baf22e5ece574c7db0b76bd1b1899c1ee95a29f8.tar.gz
Only add dependency on the fetch program, if there is something to
fetch.
Diffstat (limited to 'mk/fetch/bsd.fetch-vars.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