diff options
author | dholland <dholland@pkgsrc.org> | 2014-07-04 21:20:52 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2014-07-04 21:20:52 +0000 |
commit | a58cad8de1ec8759d0f8ad6aba8ec701b41d0e6d (patch) | |
tree | 8bc4dfd7a5445173917753927d12f8f5951743ce /mk | |
parent | d114dfd983cfae8a613ba9a3616fac7342854c60 (diff) | |
download | pkgsrc-a58cad8de1ec8759d0f8ad6aba8ec701b41d0e6d.tar.gz |
Generate a correct error message, instead of referring to a variable
that gets changed on the next line.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/apache.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/apache.mk b/mk/apache.mk index 6166ed12946..4fd0e82d322 100644 --- a/mk/apache.mk +++ b/mk/apache.mk @@ -1,4 +1,4 @@ -# $NetBSD: apache.mk,v 1.28 2014/06/10 15:22:13 joerg Exp $ +# $NetBSD: apache.mk,v 1.29 2014/07/04 21:20:52 dholland Exp $ # # This file is meant to be included by packages that require an apache # web server. @@ -70,7 +70,8 @@ _APACHE_PKGSRCDIR.apache24= ../../www/apache24 # .if empty(_PKG_APACHES:M${PKG_APACHE_DEFAULT}) -PKG_FAIL_REASON+= "[apache.mk] Invalid apache package \""${PKG_APACHE_DEFAULT:Q}"\" in PKG_APACHE_DEFAULT." +_PKG_APACHE_MESSAGE:= "[apache.mk] Invalid apache package \""${PKG_APACHE_DEFAULT:Q}"\" in PKG_APACHE_DEFAULT." +PKG_FAIL_REASON+= ${_PKG_APACHE_MESSAGE} PKG_APACHE_DEFAULT= apache22 .endif |