summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant>2005-03-08 00:52:31 +0000
committergrant <grant>2005-03-08 00:52:31 +0000
commit19c694ed8d73b07b9384722c73e28dae73ede77e (patch)
treecb40c8ba5becd0a78de34df48541a66795ddbffb /mk
parentba90e2e72e7491a014376f5517a056f897fadbe0 (diff)
downloadpkgsrc-19c694ed8d73b07b9384722c73e28dae73ede77e.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')
-rw-r--r--mk/wrapper/bsd.wrapper.mk7
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}