[43783] trunk/base/src/port1.0/portconfigure.tcl

Ryan Schmidt ryandesign at macports.org
Thu Dec 25 12:22:05 PST 2008


On Dec 25, 2008, at 07:33, Rainer Müller wrote:

> Ryan Schmidt wrote:
>> While I like this in general, how this will interact with ports like
>> the php5 port that override the command? php5 does this:
>>
>> depends_build \
>>      port:pkgconfig \
>>      port:autoconf213
>>
>> [snip]
>>
>> use_autoconf            yes
>> autoconf.cmd            ${prefix}/bin/autoconf213
>>
>> So now due to the above change a dependency on autoconf gets added
>> even though php5 won't be using a binary called autoconf.	
>>
>> I guess the unnecessary autoconf port won't actually be installed
>> because MacPorts will find the autoconf in /usr/bin to satisfy it...
>> Hmm...
>
> You are right, this might pull in unnecessary dependencies. Should we
> remove the dependency if autoconf.cmd is not the default value and it
> has to be declared in the port itself?

Do we know how to do that? That sounds ideal.




More information about the macports-dev mailing list