diff options
author | joerg <joerg@pkgsrc.org> | 2008-04-03 14:07:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-04-03 14:07:51 +0000 |
commit | 981d8b9493aabe9e233da8d33d3b6f3d6701c24f (patch) | |
tree | 68a4e35995a7f58f576b5e1e1b589becdf4ab2c0 /mk/fetch/fetch.mk | |
parent | 80dd78f14007d962947b8d94887496b0fa2c35bb (diff) | |
download | pkgsrc-981d8b9493aabe9e233da8d33d3b6f3d6701c24f.tar.gz |
Move handling of pkg_install version into flavor. Add an explicit
phase pkg_install-depends before bootstrap-depends that just tries to
install a new pkg_install if the current version is too old. Still
keep it as bootstrap dependency for the bulk build code.
For NetBSD, PKG_TOOLS_BIN has to be computed in shell code due to a make
bug.
OK: jlam@
Diffstat (limited to 'mk/fetch/fetch.mk')
-rw-r--r-- | mk/fetch/fetch.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk index 6ff7ef4ed09..f6eed5f5472 100644 --- a/mk/fetch/fetch.mk +++ b/mk/fetch/fetch.mk @@ -1,4 +1,4 @@ -# $NetBSD: fetch.mk,v 1.32 2007/12/01 11:11:56 rillig Exp $ +# $NetBSD: fetch.mk,v 1.33 2008/04/03 14:07:51 joerg Exp $ _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} @@ -93,6 +93,7 @@ SITES.${fetchfile:T:S/=/--/}?= ${PATCH_SITES} ### fetch is a public target to fetch all of the package distribution ### files. ### +_FETCH_TARGETS+= ${_PKG_INSTALL_DEPENDS:Dpkg_install-depends} _FETCH_TARGETS+= bootstrap-depends _FETCH_TARGETS+= check-vulnerable _FETCH_TARGETS+= pre-fetch |