pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/fetch Only add dependency on the fetch program, if ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99fe19e3d0f4
branches:  trunk
changeset: 556361:99fe19e3d0f4
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Mar 20 16:23:48 2009 +0000

description:
Only add dependency on the fetch program, if there is something to
fetch.

diffstat:

 mk/fetch/bsd.fetch-vars.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a81e0374770c -r 99fe19e3d0f4 mk/fetch/bsd.fetch-vars.mk
--- a/mk/fetch/bsd.fetch-vars.mk        Fri Mar 20 16:13:02 2009 +0000
+++ b/mk/fetch/bsd.fetch-vars.mk        Fri Mar 20 16:23:48 2009 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index