Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2007 14:59:05 -0400
From:      Mikhail Teterin <mi+kde@aldan.algebra.com>
To:        gnome@FreeBSD.org
Subject:   building gtk20 with WITH_DEBUG=no causes full debugging
Message-ID:  <200703171459.06050@aldan>

next in thread | raw e-mail | index | archive | help
Hi!

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

	root@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703171459.06050>