building gtk20 with WITH_DEBUG=no causes full debugging

Mikhail Teterin mi+kde at aldan.algebra.com
Sat Mar 17 19:25:49 UTC 2007


Hi!

As per the gtk20 port's advise, I tried building it with WITH_DEBUG set to 
`no':

	root at aldan:ports/x11-toolkits/gtk20 : make WITH_DEBUG=no

To my surprise, that proceeded to build pango (a dependency) without the usual 
`-O2'...

Building with WITHOUT_DEBUG=yes seems to do the right thing... Perhaps, simply 
taking the option `no' out of the list is enough to correct the problem.

diff -U2 -r1.192 Makefile
--- Makefile    14 Mar 2007 11:45:30 -0000      1.192
+++ Makefile    17 Mar 2007 18:58:10 -0000
@@ -99,5 +99,5 @@
        @${ECHO_MSG}
        @${ECHO_MSG} "Enable or disable debugging with the following knob"
-       @${ECHO_MSG} "WITH_DEBUG=[no|minimum|yes] or WITHOUT_DEBUG=yes"
+       @${ECHO_MSG} "WITH_DEBUG=[minimum|yes] or WITHOUT_DEBUG=yes"
        @${ECHO_MSG}
        @${ECHO_MSG} "Default is minimum"

Yours,

	-mi


More information about the freebsd-gnome mailing list