pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk SUBST_STAGE.* is currently not defined by all SUBST...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cd5bbf44ffa9
branches: trunk
changeset: 515046:cd5bbf44ffa9
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Jun 22 20:45:48 2006 +0000
description:
SUBST_STAGE.* is currently not defined by all SUBST blocks, so disable
PKG_FAIL_REASON in that case. It didn't have an effect anyway for normal
builds, since subst.mk is included after checking PKG_FAIL_REASON.
Discussed with jlam.
diffstat:
mk/subst.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 60ce2b6af81e -r cd5bbf44ffa9 mk/subst.mk
--- a/mk/subst.mk Thu Jun 22 19:23:03 2006 +0000
+++ b/mk/subst.mk Thu Jun 22 20:45:48 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.33 2006/06/17 22:42:00 rillig Exp $
+# $NetBSD: subst.mk,v 1.34 2006/06/22 20:45:48 rillig Exp $
#
# This Makefile fragment implements a general text replacement facility.
# Package makefiles define a ``class'', for each of which a particular
@@ -54,7 +54,8 @@
. if defined(SUBST_STAGE.${_class_})
${SUBST_STAGE.${_class_}}: subst-${_class_}
. else
-PKG_FAIL_REASON+= "SUBST_STAGE missing for ${_class_}."
+# SUBST_STAGE.* does not need to be defined.
+#PKG_FAIL_REASON+= "SUBST_STAGE missing for ${_class_}."
. endif
.PHONY: subst-${_class_}
Home |
Main Index |
Thread Index |
Old Index