From 03a9aefed81788ee72e16367c08a74c48884b60e Mon Sep 17 00:00:00 2001 From: adamw Date: Wed, 13 Apr 2005 04:40:39 +0000 Subject: 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. --- x11-toolkits/gtk20/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'x11-toolkits/gtk20') 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 -- cgit v1.1