diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-13 14:02:34 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-13 14:02:34 +0000 |
commit | d82eef09500a76b19ba08b524472bd3b7ae02da9 (patch) | |
tree | 054a4952b111d37e6eb8aaa78c0125d125c86d9a /mk/bsd.utils.mk | |
parent | 3ff0b6879facc2ae08dbf03cb2ac2209932e37f8 (diff) | |
download | pkgsrc-d82eef09500a76b19ba08b524472bd3b7ae02da9.tar.gz |
* Add a new stage "bootstrap-depends" that happens before all other
stages, and that installs dependencies listed in BOOTSTRAP_DEPENDS.
The bootstrap-depends step works just like the normal depends step
and honors the value of DEPENDS_TARGET. It's now possible to add
dependencies solely to facilitate fetching the distfiles, e.g.
BOOTSTRAP_DEPENDS+= curl-[0-9]*:../../www/curl
* Teach the tools framework about ":bootstrap" as a tools modifier
which indicates the tool should be added as a dependency via
BOOTSTRAP_DEPENDS.
* Add "digest" to the tools framework.
* Use USE_TOOLS+=digest:bootstrap to force pkgsrc to install digest
before anything else. Get rid of unused "uptodate-digest" target
and related digest version-checking code.
* Finish the refactoring work: split checksum-related code out of
bsd.pkg.mk and into pkgsrc/mk/checksum and replace the "checksum"
target command list with a script that does all the real work.
* Make DIGEST_ALGORITHMS and PATCH_DIGEST_ALGORITHM into private
variables by prepending them with an underscore. Also, rename
_PATCH_DIGEST_ALGORITHM to _PATCH_DIGEST_ALGORITHMS and adjust the
makepatchsum target to allow that variable to contain a list of
algorithms, all of which are used when creating the patch checksums
for ${DISTINFO_FILE}.
Diffstat (limited to 'mk/bsd.utils.mk')
-rw-r--r-- | mk/bsd.utils.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.utils.mk b/mk/bsd.utils.mk index 37b5e113e57..6c1c8937234 100644 --- a/mk/bsd.utils.mk +++ b/mk/bsd.utils.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.utils.mk,v 1.6 2006/01/23 15:01:39 jlam Exp $ +# $NetBSD: bsd.utils.mk,v 1.7 2006/07/13 14:02:34 jlam Exp $ # # This Makefile fragment is included by bsd.pkg.mk and defines utility # and otherwise miscellaneous variables and targets. @@ -10,7 +10,7 @@ # DEPENDS_TYPE?= all .if !empty(DEPENDS_TYPE:Mbuild) || !empty(DEPENDS_TYPE:Mall) -_ALL_DEPENDS+= ${BUILD_DEPENDS} +_ALL_DEPENDS+= ${BOOTSTRAP_DEPENDS} ${BUILD_DEPENDS} .endif .if !empty(DEPENDS_TYPE:Minstall) || !empty(DEPENDS_TYPE:Mpackage) || \ !empty(DEPENDS_TYPE:Mall) |