Date: Fri, 4 Jan 2002 13:59:09 -0200 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: Maxim Sobolev <sobomax@FreeBSD.ORG> Cc: "James E. Housley" <jeh@FreeBSD.ORG>, Mikhail Teterin <mi@aldan.algebra.com>, joseph@randomnetworks.com, ports@FreeBSD.ORG Subject: Re: cvs commit: ports/www Makefile ports/www/frontpage-es Makefiledistinfo pkg-comment Message-ID: <20020104155931.1901.qmail@exxodus.fedaykin.here> In-Reply-To: <1009610598.225.7.camel@notebook>; from sobomax@FreeBSD.ORG on Sat, Dec 29, 2001 at 09:25:54AM %2B0200 References: <200112282206.fBSM6kf36064@aldan.algebra.com> <1009581412.225.2.camel@notebook> <3C2D18FB.855F80EC@FreeBSD.org> <1009610598.225.7.camel@notebook>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 29, 2001 at 09:25:54AM +0200, Maxim Sobolev wrote: > On Sat, 2001-12-29 at 03:14, James E. Housley wrote: > > Maxim Sobolev wrote: >=20 > 1. Each port that supports "options" declares variable PORTOPTIONS in > its Makefile, which is the list of all supported build-time options. For > example: >=20 > PORTOPTIONS=3D WITH_FOO WITHOUT_BAR >=20 > The Makefile obviously should recognize those options, enable/disable > approprite features, set sensible PKGNAMESUFFIXes, etc. >=20 > 2. When building packages on bento, the script tests if the PORTOPTIONS > is defined and if yes, then repeats the build of the port several times > (3 times in the example above - first without any options, second with > WITH_FOO defined and third - with WITHOUT_BAR). As a result, there > should be 3 packages with different suffixes. Humm, nice idea. I've been out of the loop for a while. Sorry for replying just now. > This is a quite "raw" proposal just off the top of the top of my head > and I know that there are several drawbacks - for example there is no > way to separate those options that are mutually exclusive from those There is, we could use an idea similar to the _MASTER_SITE* patch. We group options by :n and :!n PORTOPTIONS=3D WITH_X:x WITHOUT_X:!n WITH_XTERM_SUPPORT:x And stuff like that. What do you think? --=20 Mario S F Ferreira - DF - Brasil - "Acho que isso eh uma assinatura." Bacharelando em Ciencia da Computacao | FreeBSD Committer reclamacoes para amado devnull@outromundoacimaouabaixo.org.br | funcionalidade, s: um defeito documentado | defeito, s: uma funcionalidade nao documentada To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020104155931.1901.qmail>