| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.fetch-vars.mk,v 1.12 2009/02/10 18:55:54 joerg Exp $ | | 1 | # $NetBSD: bsd.fetch-vars.mk,v 1.13 2009/03/20 16:23:48 joerg Exp $ |
2 | # | | 2 | # |
3 | # This Makefile fragment is included separately by bsd.pkg.mk and | | 3 | # This Makefile fragment is included separately by bsd.pkg.mk and |
4 | # defines some variables which must be defined earlier than where | | 4 | # defines some variables which must be defined earlier than where |
5 | # bsd.fetch.mk is included. | | 5 | # bsd.fetch.mk is included. |
6 | # | | 6 | # |
7 | # The following variables may be set by the user: | | 7 | # The following variables may be set by the user: |
8 | # | | 8 | # |
9 | # DISTDIR is the top-level directory into which all original | | 9 | # DISTDIR is the top-level directory into which all original |
10 | # distribution files are fetched. | | 10 | # distribution files are fetched. |
11 | # | | 11 | # |
12 | # DIST_PATH is a list of directories, separated by colons, in which | | 12 | # DIST_PATH is a list of directories, separated by colons, in which |
13 | # the distribution files are looked up, additionally to DISTDIR. | | 13 | # the distribution files are looked up, additionally to DISTDIR. |
14 | # No files will ever be created in these directories. | | 14 | # No files will ever be created in these directories. |
| @@ -73,15 +73,17 @@ NO_SKIP= # defined | | | @@ -73,15 +73,17 @@ NO_SKIP= # defined |
73 | _BOOTSTRAP_VERBOSE= # defined | | 73 | _BOOTSTRAP_VERBOSE= # defined |
74 | .endif | | 74 | .endif |
75 | | | 75 | |
76 | .if !empty(_CKSUMFILES) && defined(FAILOVER_FETCH) | | 76 | .if !empty(_CKSUMFILES) && defined(FAILOVER_FETCH) |
77 | USE_TOOLS+= digest:bootstrap | | 77 | USE_TOOLS+= digest:bootstrap |
78 | .endif | | 78 | .endif |
79 | | | 79 | |
80 | _FETCH_TOOLS.ftp= ftp | | 80 | _FETCH_TOOLS.ftp= ftp |
81 | _FETCH_TOOLS.fetch= fetch | | 81 | _FETCH_TOOLS.fetch= fetch |
82 | _FETCH_DEPENDS.wget= wget-[0-9]*:../../net/wget | | 82 | _FETCH_DEPENDS.wget= wget-[0-9]*:../../net/wget |
83 | _FETCH_DEPENDS.curl= curl-[0-9]*:../../www/curl | | 83 | _FETCH_DEPENDS.curl= curl-[0-9]*:../../www/curl |
84 | _FETCH_TOOLS.manual= false | | 84 | _FETCH_TOOLS.manual= false |
85 | | | 85 | |
| | | 86 | .if !empty(_ALLFILES) |
86 | USE_TOOLS+= ${_FETCH_TOOLS.${FETCH_USING}:C/$/:bootstrap/} | | 87 | USE_TOOLS+= ${_FETCH_TOOLS.${FETCH_USING}:C/$/:bootstrap/} |
87 | BOOTSTRAP_DEPENDS+= ${_FETCH_DEPENDS.${FETCH_USING}} | | 88 | BOOTSTRAP_DEPENDS+= ${_FETCH_DEPENDS.${FETCH_USING}} |
| | | 89 | .endif |