GNU configure options

Matt Eckhaus matt at wickedweasel.com
Mon Apr 30 21:59:48 PDT 2007


Looks like it worked fine. Thanks.

On 29/04/2007, at 5:19 AM, Ryan Schmidt wrote:

>
> On Apr 28, 2007, at 14:15, Ryan Schmidt wrote:
>
>> 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}
>> }
>
> On second thought: I've just committed that change (in r24586). So  
> you can wait 12 hours and try "sudo port install php5 +mssql" and  
> hopefully it will work. If it does not, please let me know so I can  
> fix it.
>
>




More information about the macports-users mailing list