diff options
author | grant <grant@pkgsrc.org> | 2005-03-08 00:52:31 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-03-08 00:52:31 +0000 |
commit | 6f23238a15d420060aa10fe760442151b755c1cd (patch) | |
tree | cb40c8ba5becd0a78de34df48541a66795ddbffb /mk/wrapper/bsd.wrapper.mk | |
parent | 010e59b2b2c7428c6be5f55d173b2cc31e60ee58 (diff) | |
download | pkgsrc-6f23238a15d420060aa10fe760442151b755c1cd.tar.gz |
fix previous to work with pkgsrc bmake, and add a comment explaining
why it must be done this way.
Diffstat (limited to 'mk/wrapper/bsd.wrapper.mk')
-rw-r--r-- | mk/wrapper/bsd.wrapper.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/wrapper/bsd.wrapper.mk b/mk/wrapper/bsd.wrapper.mk index 77846bade69..ba43c51e292 100644 --- a/mk/wrapper/bsd.wrapper.mk +++ b/mk/wrapper/bsd.wrapper.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.wrapper.mk,v 1.25 2005/03/06 22:27:12 agc Exp $ +# $NetBSD: bsd.wrapper.mk,v 1.26 2005/03/08 00:52:31 grant Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -36,7 +36,10 @@ .include "../../mk/wrapper/wrapper-defs.mk" -.if ${PKG_DEBUG_LEVEL} > 0 || defined(PKG_VERBOSE) +# pkgsrc bmake does not (yet) correctly handle ${VAR} > 0 because +# ${VAR} is treated as a string, so we must use a string comparison +# operator. +.if ${PKG_DEBUG_LEVEL} != "0" || defined(PKG_VERBOSE) ECHO_WRAPPER_MSG?= ${ECHO} .else ECHO_WRAPPER_MSG?= ${TRUE} |