diff options
author | rillig <rillig@pkgsrc.org> | 2006-06-22 20:45:48 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-06-22 20:45:48 +0000 |
commit | e76977a4d457ec421e0bc793ded65be76c1ef8a0 (patch) | |
tree | 76144f0b33caf93f30d3141d287c7acfc19fab99 /mk | |
parent | 2a89efdec0c73cf937a693ff98c30bd0bdb16249 (diff) | |
download | pkgsrc-e76977a4d457ec421e0bc793ded65be76c1ef8a0.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.mk | 5 |
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_} |