diff options
author | joerg <joerg@pkgsrc.org> | 2009-03-20 16:23:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-03-20 16:23:48 +0000 |
commit | 490760d2f4c17beb65da11642edf54c2b472c667 (patch) | |
tree | 3caaccadae0e47db4152b7d0b09bfa191370d488 /mk/fetch | |
parent | 5f72a77f4ad612097645f263b41438b105c52536 (diff) | |
download | pkgsrc-490760d2f4c17beb65da11642edf54c2b472c667.tar.gz |
Only add dependency on the fetch program, if there is something to
fetch.
Diffstat (limited to 'mk/fetch')
-rw-r--r-- | mk/fetch/bsd.fetch-vars.mk | 4 |
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 |