Integrated DEBUG related macros to WITH_DEBUG/WITHOUT_DEBUG

Michael Nottebrock lofi at freebsd.org
Sun Nov 13 10:14:36 PST 2005


On Sunday, 13. November 2005 16:11, Stijn Hoop wrote:

> I totally agree with that; it's just that having 127 _unobviously_
> named DEBUG knobs is also totally useless.
>
> E.g., for audio/arts, do I need to set 'WITH_KDE_DEBUG=yes' to get
> debugging symbols? I don't know and I can't quickly look it up.

Indeed you do and indeed you can't. 

However, I don't consider the latter to be a real pressing problem - after 
all, we're talking about compiling a piece of software in a way that 
facilitates *debugging* - it's bad enough when I (as a kde maintainer) see no 
other choice but to tell you, the user (when you've reported a problem - say 
a crash - to me), to recompile the whole damn thing with some switch intended 
for developers so I can figure out what the problem is.

> Michael's proposal for 'WITH_<portname>_DEBUG' is ultimately the way
> to go.

I don't deserve the credit for that idea (I don't really remember who came up 
with it, IIRC obrien@). ;-)

-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20051113/2a78fe78/attachment.bin


More information about the freebsd-ports mailing list