aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk30
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2005-04-13 12:40:39 +0800
committeradamw <adamw@FreeBSD.org>2005-04-13 12:40:39 +0800
commit03a9aefed81788ee72e16367c08a74c48884b60e (patch)
tree338b191270c4efb58225673003681990698621c6 /x11-toolkits/gtk30
parent34ca07286d8476545c94b6be1c53f64d15ce6329 (diff)
downloadfreebsd-ports-gnome-03a9aefed81788ee72e16367c08a74c48884b60e.tar.gz
freebsd-ports-gnome-03a9aefed81788ee72e16367c08a74c48884b60e.tar.zst
freebsd-ports-gnome-03a9aefed81788ee72e16367c08a74c48884b60e.zip
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.
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