summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2005-04-13 04:40:39 +0000
committeradamw <adamw@FreeBSD.org>2005-04-13 04:40:39 +0000
commit03a9aefed81788ee72e16367c08a74c48884b60e (patch)
tree338b191270c4efb58225673003681990698621c6 /x11-toolkits/gtk20
parent34ca07286d8476545c94b6be1c53f64d15ce6329 (diff)
downloadFreeBSD-ports-03a9aefed81788ee72e16367c08a74c48884b60e.zip
FreeBSD-ports-03a9aefed81788ee72e16367c08a74c48884b60e.tar.gz
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/gtk20')
-rw-r--r--x11-toolkits/gtk20/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index b8409af..a147d09 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/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
OpenPOWER on IntegriCloud