pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk Add .forcebroken, a builder-created text file ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ab9d5a585b52
branches: trunk
changeset: 502621:ab9d5a585b52
user: tv <tv%pkgsrc.org@localhost>
date: Mon Nov 07 18:22:22 2005 +0000
description:
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:
mk/bulk/bsd.bulk-pkg.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r d91964d59be6 -r ab9d5a585b52 mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk Mon Nov 07 18:13:54 2005 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk Mon Nov 07 18:22:22 2005 +0000
@@ -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@localhost>
@@ -90,6 +90,13 @@
# 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}
Home |
Main Index |
Thread Index |
Old Index