aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk20
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/gtk20
parentc330a86f562bdf546fd95fe0c712ab03ccba0771 (diff)
downloadports-2f0a808660ac46d229e62418c24c710fe19292ad.tar.gz
ports-2f0a808660ac46d229e62418c24c710fe19292ad.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.
Notes
Notes: svn path=/head/; revision=133201
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 b8409af6d1db..a147d09e5cb8 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