summaryrefslogtreecommitdiff
path: root/mk/bulk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-07 18:22:22 +0000
committertv <tv@pkgsrc.org>2005-11-07 18:22:22 +0000
commit4f48c5198be8adad33181428b06f239ee3ee9146 (patch)
treec99ae8789fe178b29350054f5ceb0416f0abbeb7 /mk/bulk
parent87d084a4922b7a3d3fe2452fd1201b836d9389fd (diff)
downloadpkgsrc-4f48c5198be8adad33181428b06f239ee3ee9146.tar.gz
Add .forcebroken, a builder-created text file that becomes a PKG_FAIL_REASON
if present. By design, it is not cleaned at the start of a bulk build; it is intended to allow a bulk build admin to mark a time-consuming package as not buildable, but which shouldn't be marked permanently as such in the package's Makefile.
Diffstat (limited to 'mk/bulk')
-rw-r--r--mk/bulk/bsd.bulk-pkg.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk
index 61caa47f04a..016e361f719 100644
--- a/mk/bulk/bsd.bulk-pkg.mk
+++ b/mk/bulk/bsd.bulk-pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.bulk-pkg.mk,v 1.90 2005/11/05 16:58:34 rillig Exp $
+# $NetBSD: bsd.bulk-pkg.mk,v 1.91 2005/11/07 18:22:22 tv Exp $
#
# Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org>
@@ -90,6 +90,13 @@ BROKENFILE?= .broken${BULK_ID}.html
# This file is the work log for a broken package
BROKENWRKLOG?= .broken${BULK_ID}.work.html
+# This file is human-created to force a package to show up as broken
+# (it is never cleaned by the bulk build, and contains the broken reason)
+FORCEBROKENFILE?= .forcebroken
+.if exists(${PKGDIR}/${FORCEBROKENFILE})
+PKG_FAIL_REASON+= "${PKGNAME} is marked as broken by the bulk build administrator: `cat ${PKGDIR}/${FORCEBROKENFILE}`"
+.endif
+
# This file is where the log of the build goes
BUILDLOG?= .make${BULK_ID}