Date: Sat, 19 May 2012 23:18:49 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: Mark Linimon <linimon@lonesome.com> Cc: Scot Hetzel <swhetzel@gmail.com>, freebsd-ports@freebsd.org, Andriy Gapon <avg@freebsd.org> Subject: Re: WITH_GCC Message-ID: <alpine.BSF.2.00.1205172027340.62885@wonkity.com> In-Reply-To: <20120517014743.GB5348@lonesome.com> References: <CAGFTUwPUFdP=Z20%2BbL59qFuh_V6R1R-GcyrK03dxESL6ZyGz7A@mail.gmail.com> <4F578AA7.4060008@FreeBSD.org> <4F990D9A.3090100@FreeBSD.org> <4FA643FA.3050206@FreeBSD.org> <4FAB6E01.50108@FreeBSD.org> <CACdU%2Bf_77t7GCH2hm3hwcK2i%2BTcHUq_aBP4a7SeghQhGz3soDg@mail.gmail.com> <4FAC2EC1.8040708@FreeBSD.org> <20120517014743.GB5348@lonesome.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 May 2012, Mark Linimon wrote: > On Fri, May 11, 2012 at 12:10:25AM +0300, Andriy Gapon wrote: >> P.S. >> Perhaps this information should also be somewhere in the Porter's Handbook. > > It is scattered around in it: > > WITH/WITHOUT: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-options.html#AEN2542 > > USE: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#USE-VARS > > Unfortunately WANT is only documented in bsd.port.mk itself. Does > anyone wish to take on the task of adding a tips-and-tricks entry > about the difference between the 3 to the PH? > > http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk?annotate=1.708 > (line 285) Okay, I'll bite. However, I missed the earlier part of the thread and the descriptions of the USE and WANT options weren't very clear to me. Also I'm not sure where the text should go in the PH. Other than that, it's quite clear. Maybe: WITH_ and WITHOUT_ variables may be set by the port maintainer as defaults, and modified by the end user as configuration options. Example: WITHOUT_X11= yes USE_ variables are set by the port maintainer to define software on which this port depends. Example: USE_BZIP2= yes WANT_ variables are set by the port maintainer to prefer one version or variation of a dependency over another. Examples: WANT_OPENLDAP_VER= 23 WANT_BDB_VER= 48 WANT_PGSQL_VER= 90 WANT_PHP_WEB= yes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205172027340.62885>