From owner-freebsd-ports@FreeBSD.ORG Mon Nov 14 10:22:56 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B23A816A41F; Mon, 14 Nov 2005 10:22:56 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68BE743D58; Mon, 14 Nov 2005 10:22:51 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by kweetal.tue.nl (Postfix) with ESMTP id 4F1AF13B64D; Mon, 14 Nov 2005 11:22:50 +0100 (CET) Received: from kweetal.tue.nl ([127.0.0.1]) by localhost (kweetal.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58360-08; Mon, 14 Nov 2005 11:22:49 +0100 (CET) Received: from umta.win.tue.nl (umta.win.tue.nl [131.155.71.100]) by kweetal.tue.nl (Postfix) with ESMTP id 26B8013B635; Mon, 14 Nov 2005 11:22:49 +0100 (CET) Received: from pcwin002.win.tue.nl (pcwin002 [131.155.71.72]) by umta.win.tue.nl (Postfix) with ESMTP id 21FF831401C; Mon, 14 Nov 2005 11:22:49 +0100 (CET) Received: by pcwin002.win.tue.nl (Postfix, from userid 1001) id 10DBA40BD; Mon, 14 Nov 2005 11:22:49 +0100 (CET) Date: Mon, 14 Nov 2005 11:22:49 +0100 From: Stijn Hoop To: Michael Nottebrock Message-ID: <20051114102248.GS69544@pcwin002.win.tue.nl> References: <200511130038.jAD0cgLb043746@sakura.ninth-nine.com> <20051113145814.GA74866@nagual.pp.ru> <20051113151131.GG69544@pcwin002.win.tue.nl> <200511131914.28559.lofi@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E0h0CbphJD8hN+Gf" Content-Disposition: inline In-Reply-To: <200511131914.28559.lofi@freebsd.org> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Virus-Scanned: amavisd-new at tue.nl Cc: Norikatsu Shigemura , freebsd-ports@freebsd.org Subject: Re: Integrated DEBUG related macros to WITH_DEBUG/WITHOUT_DEBUG X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 10:22:57 -0000 --E0h0CbphJD8hN+Gf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 13, 2005 at 07:14:15PM +0100, Michael Nottebrock wrote: > 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=3Dyes' to get > > debugging symbols? I don't know and I can't quickly look it up. >=20 > Indeed you do and indeed you can't.=20 >=20 > However, I don't consider the latter to be a real pressing problem - afte= r=20 > all, we're talking about compiling a piece of software in a way that=20 > facilitates *debugging* - it's bad enough when I (as a kde maintainer) se= e no=20 > other choice but to tell you, the user (when you've reported a problem - = say=20 > a crash - to me), to recompile the whole damn thing with some switch inte= nded=20 > for developers so I can figure out what the problem is. OK, I agree that it should be unnecessary for 'normal' users to want to do this. That doesn't preclude standardization of the switch name though. I thought of one scenario that the WITH__DEBUG scheme is not good for: debugging the whole of KDE for example. It would really be a regression if you couldn't do 'make WITH_KDE_DEBUG=3Dyes install' in x11/kde3 anymore without all of WITH_ARTS_DEBUG=3Dyes, WITH_KDELIBS3_DEBUG= =3Dyes, etc etc. So 'global' knobs like 'WITH_KDE_DEBUG' should also still be kept, I guess. > > Michael's proposal for 'WITH__DEBUG' is ultimately the way > > to go. >=20 > I don't deserve the credit for that idea (I don't really remember who cam= e up=20 > with it, IIRC obrien@). ;-) Ah, ok. The OPTIONS_ scheme also sounds like a good idea. --Stijn --=20 If today is the first day of the rest of your life, what the hell was yesterday? --E0h0CbphJD8hN+Gf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDeGV4Y3r/tLQmfWcRAqJfAKCYBR7SG6SXtKuqqDL0uaC+Uc9FxwCaA6uQ 2yh1hgjnR9gf2pqK3ayaPrU= =To+C -----END PGP SIGNATURE----- --E0h0CbphJD8hN+Gf--