Date: Sun, 13 Nov 2005 16:37:33 +0100 From: Stijn Hoop <stijn@win.tue.nl> To: Andrey Chernov <ache@freebsd.org>, Michael Nottebrock <lofi@FreeBSD.ORG>, freebsd-ports@FreeBSD.ORG, Norikatsu Shigemura <nork@FreeBSD.ORG>, ports@FreeBSD.ORG Subject: Re: Integrated DEBUG related macros to WITH_DEBUG/WITHOUT_DEBUG Message-ID: <20051113153733.GI69544@pcwin002.win.tue.nl> In-Reply-To: <20051113153119.GH69544@pcwin002.win.tue.nl> References: <200511130038.jAD0cgLb043746@sakura.ninth-nine.com> <20051113212402.bf0fe702.nork@FreeBSD.org> <20051113125046.GA44237@nagual.pp.ru> <200511131526.05488.lofi@freebsd.org> <20051113145814.GA74866@nagual.pp.ru> <20051113151131.GG69544@pcwin002.win.tue.nl> <20051113153119.GH69544@pcwin002.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--mXDO3udm/xYWQeMQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 13, 2005 at 04:31:19PM +0100, Stijn Hoop wrote: > --- /home/stijn/FreeBSD/src/bsd.port.mk.orig Sun Nov 13 16:13:44 2005 > +++ bsd.port.mk Sun Nov 13 16:29:34 2005 > @@ -1375,6 +1375,14 @@ > WWWOWN?=3D www > WWWGRP?=3D www > =20 > +# Set WITH_DEBUG if WITH_<portname>_DEBUG is defined > +_TMP_DEBUG=3D WITH_${PORTNAME:U}_DEBUG > +.if defined(${_TMP_DEBUG}) > +WITH_DEBUG=3D yes > +.else > +.undef WITH_DEBUG > +.endif > + > .endif > # End of pre-makefile section. Too quick... scratch the 'else' clause there... --Stijn --=20 The sexual urge of the camel is stranger than anyone thinks. He's lived for years on the desert, and tried to seduce the Sphinx. But the Sphinxs center of pleasure lies buried deep in the Nile, which accounts for the hump on the camel and the Sphinxs inscrutable smile. -- Frantic Fran, http://www.franticfran.com/jokes.htm --mXDO3udm/xYWQeMQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDd129Y3r/tLQmfWcRAiR2AKCAjTH90pMLxGmJlPvs27STVPHVEwCePiNn HMkD/Xf4CfW5d0Bpjlu69iw= =rkZS -----END PGP SIGNATURE----- --mXDO3udm/xYWQeMQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051113153733.GI69544>