aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk30
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-02-21 02:20:48 +0800
committermezz <mezz@FreeBSD.org>2006-02-21 02:20:48 +0800
commitcbf30069b1b54b5aa58d79f3b688d12d736a3e33 (patch)
tree49453424d63096eaefc2a27f2e0bf968a859a25d /x11-toolkits/gtk30
parentab5555bcaa51da8b73572d0435e64e7f6c80763d (diff)
downloadfreebsd-ports-gnome-cbf30069b1b54b5aa58d79f3b688d12d736a3e33.tar.gz
freebsd-ports-gnome-cbf30069b1b54b5aa58d79f3b688d12d736a3e33.tar.zst
freebsd-ports-gnome-cbf30069b1b54b5aa58d79f3b688d12d736a3e33.zip
Add WITHOUT_DEBUG to support more standard flag, same behavior as with
WITH_DEBUG=no. Submitted by: "Babak Farrokhi" <babak@farrokhi.net>
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r--x11-toolkits/gtk30/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index 2d1a603e00d5..40ac78aa1f11 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/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}