summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-06-22 20:45:48 +0000
committerrillig <rillig>2006-06-22 20:45:48 +0000
commit8a47b7b2b7ce3fff74473ae5d73f3379bada2a33 (patch)
tree76144f0b33caf93f30d3141d287c7acfc19fab99 /mk
parentcf414313779fc1b9a318677dd630b40a6be7a6c4 (diff)
downloadpkgsrc-8a47b7b2b7ce3fff74473ae5d73f3379bada2a33.tar.gz
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 (limited to 'mk')
-rw-r--r--mk/subst.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/subst.mk b/mk/subst.mk
index 179614d774d..ae356fd4df1 100644
--- a/mk/subst.mk
+++ b/mk/subst.mk
@@ -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 @@ SUBST_TARGETS+= subst-${_class_}
. 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_}