GNU configure options
Ryan Schmidt
ryandesign at macports.org
Sat Apr 28 12:15:15 PDT 2007
On Apr 19, 2007, at 19:17, Ryan Schmidt wrote:
> On Apr 18, 2007, at 23:10, Matt Eckhaus wrote:
>
>> On 19/04/2007, at 1:47 PM, Ryan Schmidt wrote:
>>
>>> On Apr 18, 2007, at 21:50, Matt Eckhaus wrote:
>>>
>>>> Is there any way to pass an extra GNU configure option to "port
>>>> install"?
>>>>
>>>> Specifically, I want it to configure php5 with "--with-mssql=/
>>>> opt/local" to make it pick up freeTDS.
>>>
>>> So, we should add a freetds variant to the php5 port.
>>
>> Yes, I think that would be a good idea. I worked out how to enable
>> it and it works great.
>
> Is it something like this patch?
Matt: Please let me know if adding this snippet to the php5 portfile
and installing php5 with the +mssql variant works for you, so that I
can apply the patch to the portfile and commit it. Thanks.
variant mssql {
depends_lib-append \
port:freetds
configure.args-append \
--with-mssql=${prefix}
}
More information about the macports-users
mailing list