aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk20
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2006-02-20 18:20:48 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2006-02-20 18:20:48 +0000
commitd16d6237ec3e6d00fd9b0dbb6bd2b1d5dfd6c0b1 (patch)
tree847e8e8da65b2db3055d6baf8835a333791af001 /x11-toolkits/gtk20
parentb16e1ecf13a26f9c400a4583cc4b8a5e336a0bad (diff)
downloadports-d16d6237ec3e6d00fd9b0dbb6bd2b1d5dfd6c0b1.tar.gz
ports-d16d6237ec3e6d00fd9b0dbb6bd2b1d5dfd6c0b1.zip
Add WITHOUT_DEBUG to support more standard flag, same behavior as with
WITH_DEBUG=no. Submitted by: "Babak Farrokhi" <babak@farrokhi.net>
Notes
Notes: svn path=/head/; revision=156517
Diffstat (limited to 'x11-toolkits/gtk20')
-rw-r--r--x11-toolkits/gtk20/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 2d1a603e00d5..40ac78aa1f11 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -51,8 +51,8 @@ PLIST_SUB= GTK_VERSION="${GTK_VERSION}"
# on the command-line.
# Set to minimum if you want to send in a backtrace; set
# to yes if you want to know what gtk thinks it's doing.
-.if defined(WITH_DEBUG)
-.if ${WITH_DEBUG:L} == "no"
+.if defined(WITH_DEBUG) || defined(WITHOUT_DEBUG)
+.if defined(WITHOUT_DEBUG) || ${WITH_DEBUG:L} == "no"
CONFIGURE_ARGS+= --enable-debug=no
.else
.if ${WITH_DEBUG:L} == "yes"
@@ -81,7 +81,7 @@ pre-everything::
.if !defined(WITH_DEBUG)
@${ECHO_MSG}
@${ECHO_MSG} "Enable or disable debugging with the following knob"
- @${ECHO_MSG} "WITH_DEBUG=[no|minimum|yes]"
+ @${ECHO_MSG} "WITH_DEBUG=[no|minimum|yes] or WITHOUT_DEBUG=yes"
@${ECHO_MSG}
@${ECHO_MSG} "Default is minimum"
@${ECHO_MSG}