summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-03 14:07:51 +0000
committerjoerg <joerg>2008-04-03 14:07:51 +0000
commit0811c1121273052a9b875ec0a56d8ed869a5ef4d (patch)
tree68a4e35995a7f58f576b5e1e1b589becdf4ab2c0 /mk/fetch
parent760bac77cb86c831505f9808c6ed1c8b0bee8824 (diff)
downloadpkgsrc-0811c1121273052a9b875ec0a56d8ed869a5ef4d.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')
-rw-r--r--mk/fetch/fetch.mk3
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