On Sun, 13 Nov 2005 09:38:42 +0900 (JST)
Norikatsu Shigemura <[EMAIL PROTECTED]> wrote:

> Hi ports maintainers!
> 
>       I consider that DEBUG related knob should be integrated
>       to WITH_DEBUG/WITHOUT_DEBUG.  So I want to add DEBUG to
>       /usr/ports/KNOBS.  But following ports should be modified.
>       How about do you think?

I was about to propose that we have a knob for debug symbols. See
bellow comments for some my ports.

>    ports/mail/dspam           (but using WITH_{VERBOSE_DEBUG|BNR_DEBUG}, too)
>    ports/mail/dspam-devel     (but using WITH_{VERBOSE_DEBUG|BNR_DEBUG}, too)

--with-debug, with-verbose-debug, --with-bnr-debug are provided by the
author and enable some some verbose logging which is much too costly to
be used in production. Also usually you don't need to enable all three.
This is different that an other switch GDBS (Gnu DebuGger Support) in
my port Makefile that does CFLAGS+=-g -DDEBUG, STRIP= #
because it helps debugging configuration problems not programming
errors.

>    ports/mail/rabl_client
>    ports/mail/rabl_server

Here DEBUG serves for symbols and unstripped binaries.


I would favor a "neutral" word (!=DEBUG) for compiling debug symbols
and not stripping  binaries. The situation is similar to e.g. INVARIANTS
and WITNESS vs. makeoptions DEBUG=-g in kernel.


-- 
IOnut - Unregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

BOFH excuse #333:
A plumber is needed, the network drain is clogged


_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to