Re: Custom configure (PHP5 FCGI support)
Ryan Schmidt <darwinports-2006Q1 <at> ryandesign.com>
2006-01-02 04:08:28 GMT
On Jan 2, 2006, at 04:10, Joe Auty wrote:
> On Jan 1, 2006, at 9:53 PM, Jose L. Hales-Garcia wrote:
>
>> Sorry if this has been asked before. I haven't found any
>> documentation on it.
>>
>> There are configurations of packages that are not included in
>> variants. In particular I want to build PHP5 with FastCGI turned on.
>> What is the way to add configure switches to DarwinPorts packages?
>
> Why not edit the DarwinPort portfile and submit these changes to
> Bugzilla so that they can be committed? Something like this
> shouldn't take very much effort, and we'll (at least I'll) be happy
> to help you along the way!
Grrr.... I think this makes the 5th thread on this list in the past
two weeks about the missing PHP5 FCGI capability. It's getting
impossible to keep track of them......
To summarize, as far as I recall:
Some people propose creating a new port php5-fcgi. I think that's
silly; that's what we have variants for.
I think there should be a +fcgi variant for the php5 portfile. It
should install a binary executable called php-fcgi in the same place
that the php binary is usually installed. This is not the way the
php5 makefile works, so it'll take some fiddling. In more detail: if
you tell the standard php5 makefile to install the fcgi version, it
then decides not to install the cli version. That's also silly; just
because I want to add fcgi capability doesn't mean that I want to
remove cli capability.
I think a couple people already posted proposed portfiles to the
list; I haven't had a chance to evaluate them yet.