summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-05-09 23:33:51 +0000
committerjoerg <joerg@pkgsrc.org>2007-05-09 23:33:51 +0000
commit79cc54a7ec05ff1b8133a1bbfcd384822e836085 (patch)
tree05d9b67d8778e1265cbc2f4152928df22927e918 /mk/bsd.pkg.mk
parent0159c64b22f5e3c0e33977383c9f967c7a144cab (diff)
downloadpkgsrc-79cc54a7ec05ff1b8133a1bbfcd384822e836085.tar.gz
Add two targets, pbulk-index and pbulk-index-item.
pbulk-index-item prints a number of variables used by the parallel bulk build code during either the build, the report or the upload phase. pbulk-index checks whether multiple versions of the current package could be build (e.g. because multiple Python versions are supported) and uses pbulk-index-item for each possible combination. Thanks to David Laight for explaining the different between using :[#] in the body of a make target and in a clause of an .if. Powered-by: Google SoC 2007.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 916e6d58637..88d8b65d1ed 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1910 2007/04/01 19:02:14 kristerw Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1911 2007/05/09 23:33:51 joerg Exp $
#
# This file is in the public domain.
#
@@ -812,6 +812,10 @@ ${_MAKEVARS_MK.${_phase_}}: ${WRKDIR}
${_PKG_SILENT}${_PKG_DEBUG}${TOUCH} ${TOUCH_FLAGS} ${.TARGET}
.endfor
+.if make(pbulk-index) || make(pbulk-index-item)
+.include "${.PARSEDIR}/pbulk/pbulk-index.mk"
+.endif
+
.if defined(PKG_DEVELOPER)
. include "${.PARSEDIR}/misc/developer.mk"
.endif