summaryrefslogtreecommitdiff
path: root/mk/depends
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-04-03 14:07:51 +0000
committerjoerg <joerg@pkgsrc.org>2008-04-03 14:07:51 +0000
commitcaa9b2eebfa0d1aedfcdc490b2eadebd6200274f (patch)
tree68a4e35995a7f58f576b5e1e1b589becdf4ab2c0 /mk/depends
parent597c8d129ddcbe0205bfdf4a5a01fa525d3bcbae (diff)
downloadpkgsrc-caa9b2eebfa0d1aedfcdc490b2eadebd6200274f.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/depends')
-rw-r--r--mk/depends/depends.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/depends/depends.mk b/mk/depends/depends.mk
index 1c69e9729ef..c983fe0eceb 100644
--- a/mk/depends/depends.mk
+++ b/mk/depends/depends.mk
@@ -1,4 +1,4 @@
-# $NetBSD: depends.mk,v 1.14 2007/05/22 19:04:24 joerg Exp $
+# $NetBSD: depends.mk,v 1.15 2008/04/03 14:07:51 joerg Exp $
######################################################################
### depends (PUBLIC)
@@ -37,6 +37,7 @@ ${_COOKIE.depends}: real-depends
### real-depends is a helper target onto which one can hook all of the
### targets that do the actual dependency installation.
###
+_REAL_DEPENDS_TARGETS+= ${_PKG_INSTALL_DEPENDS:Dpkg_install-depends}
_REAL_DEPENDS_TARGETS+= bootstrap-depends
_REAL_DEPENDS_TARGETS+= depends-message
_REAL_DEPENDS_TARGETS+= pre-depends-hook