Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 15:16:15 +0100
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        Andrey Chernov <ache@FreeBSD.ORG>, ports@FreeBSD.ORG, nork@FreeBSD.ORG
Cc:        itetcu@people.tecnik93.com, yazzy@yazzy.org, kde@FreeBSD.ORG, ozawa@ongs.co.jp, hq@FreeBSD.ORG, ronald@cs.vu.nl, obrien@FreeBSD.ORG, bsam@ipt.ru, kirk@strauser.com, bzeeb+freebsdports@zabbadoz.net, tobez@FreeBSD.ORG, gnome@FreeBSD.ORG, bms@FreeBSD.ORG, osa@FreeBSD.ORG, freebsd@troback.com, shelton@granch.ru, green@FreeBSD.ORG, lev@FreeBSD.ORG, ahze@FreeBSD.ORG, nobutaka@FreeBSD.ORG, ale@FreeBSD.ORG, clement@FreeBSD.ORG, shoesoft@gmx.net, seanc@FreeBSD.ORG, lawrance@FreeBSD.ORG, simond@irrelevant.org, swhetzel@gmail.com, mezz@FreeBSD.ORG, 3d@FreeBSD.ORG, c47g@gmx.at, ehaupt@FreeBSD.ORG, mharo@FreeBSD.ORG, acardenas@bsd.org.pe, jonas@schiebtsich.net, weaseal@users.sourceforge.net, skv@FreeBSD.ORG, kwm@FreeBSD.ORG, jura@netams.com, sem@FreeBSD.ORG, novel@FreeBSD.ORG, vsevolod@FreeBSD.ORG, danny@ricin.com, phantom@FreeBSD.ORG, shetuhin@corp.mail.ru, gerald@FreeBSD.ORG, roam@FreeBSD.ORG, taguchi@tohoku.iij.ad.jp, alecn2002@yandex.ru, vivek@khera.org, joerg@FreeBSD.ORG, neal@nelson.name, mva@sysfault.org, garga@FreeBSD.ORG, anrays@gmail.com, barner@FreeBSD.ORG, mnag@FreeBSD.ORG, riggs@rrr.de, glewis@FreeBSD.ORG, freebsd@jdc.parodius.com
Subject:   Re: Integrated DEBUG related macros to WITH_DEBUG/WITHOUT_DEBUG
Message-ID:  <2CF7A824B038A3AC8E976809@palle.girgensohn.se>
In-Reply-To: <20051113120157.GA42256@nagual.pp.ru>
References:  <200511130038.jAD0cgLb043746@sakura.ninth-nine.com> <20051113120157.GA42256@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help


--On s=F6ndag, november 13, 2005 15.01.58 +0300 Andrey Chernov=20
<ache@FreeBSD.ORG> wrote:

> On Sun, Nov 13, 2005 at 09:38:42AM +0900, Norikatsu Shigemura 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?
>>
>> 	ok: using WITH_DEBUG/WITHOUT_DEBUG
>> 	ok? using *_DEBUG_* knobs.  But I think that these should not
>> 	    be replaced to WITH_DEBUG.  Semantics different.
>> 	ng: using *DEBUG* knobs.  I think that these should be replaced
>> 	    to WITH_DEBUG/WITHOUT_DEBUG.
>
> *DEBUG knob has different meaning from port to port and often not just -g
> adding, but turns on internal port debugging output/checks.

-g should really be honored through CFLAGS? I don't think that adding -g=20
alone alone calls for the need for a DEBUG knob, it must be the internal=20
port debugging checks we want by using the knob, right?


> It means that it should be turned on/off separately on per port basis.
> I.e. WITH_<portname>_DEBUG.
>
> WITH_<portname>_* style options also allows to add them all into
> /etc/make.conf without creating name conflicts between the ports.



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