Date: Mon, 4 Aug 2014 14:56:48 -0400 From: Matthew Pounsett <matt@conundrum.com> To: Alex Dupre <ale@FreeBSD.org> Cc: freebsd-ports@freebsd.org Subject: Re: WANT_PHP_WEB is just a synonym for WANT_PHP_CGI in automated build environments Message-ID: <5C5E7842-9C0F-4FE0-989D-EBC1569EEAF4@conundrum.com> In-Reply-To: <53DF8532.30506@FreeBSD.org> References: <F00B4361-E712-4E1D-B95F-E11C41BDA3C6@conundrum.com> <53DF8532.30506@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 4, 2014, at 09:05 , Alex Dupre <ale@FreeBSD.org> wrote: > Matthew Pounsett ha scritto: >>=20 >> It looks to me like the rules that WANT_PHP_WEB uses to decide = whether to build the CGI or module version of PHP will always choose the = CGI version unless the module is already installed. If this is true, it = means that in automated build environments (e.g. tinderbox) =96 where = *only* the direct dependencies of a port are installed at build time =96 = there isn=92t any way to tell WANT_PHP_WEB to install the module. This = effectively makes WANT_PHP_WEB a synonym for WANT_PHP_CGI in these = environments. >>=20 >> Have I missed something, or is this a significant flaw in the design = of the WANT_PHP_{WEB,CGI,MOD} knobs? >=20 > You missed the fact that you can install the php module as a separate > port/package together with the core php package. Not only, mod_php = port > requires core php port, that is the one containing the cgi version. So > there isn't any problem with tinderbox/poudriere. I can build it, sure .. but it=92s the dependencies I=92m trying to get = fixed up. If I can=92t tell the ports tree that a WANT_PHP_WEB port = should require mod_php5, then when I go to install the package that gets = built for that port it=92s not going to have the requirement in its meta = data, and mod_php5 won=92t be installed as a result. Yes, I can then also go manually install mod_php5, but that=92s not = really the point of dependencies, is it?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5C5E7842-9C0F-4FE0-989D-EBC1569EEAF4>