summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk30
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-04-13 04:40:39 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-04-13 04:40:39 +0000
commit2f0a808660ac46d229e62418c24c710fe19292ad (patch)
tree9dec9ca96b57dab239a1f612f32ba093144deead /x11-toolkits/gtk30
parentWorkaround Fix for 5.X, until a more permanent solution can be found. (diff)
Add a few brief comments about what it means to set WITH_DEBUG to various
values. It's likely inaccurate information, so please improve on it if you can.
Notes
Notes: svn path=/head/; revision=133201
Diffstat (limited to 'x11-toolkits/gtk30')
-rw-r--r--x11-toolkits/gtk30/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index b8409af6d1db..a147d09e5cb8 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -51,6 +51,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
GTK_VERSION= 2.4.0
PLIST_SUB= GTK_VERSION="${GTK_VERSION}"
+# Setting WITH_DEBUG=yes effectively adds -g to $CFLAGS
+# unless doing so would clobber a preexisting $CFLAGS.
+# Setting to yes also causes debugging into to be spat out
+# 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"
CONFIGURE_ARGS+= --enable-debug=no