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

Rainer Müller raimue at macports.org
Thu Dec 25 05:33:56 PST 2008


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?

Rainer


More information about the macports-dev mailing list