portfile question concerning optional deps

Rainer Müller raimue at macports.org
Fri Mar 4 00:17:07 PST 2011

On 2011-03-03 23:47 , Daniel J. Luke wrote:
> On Mar 3, 2011, at 5:32 PM, Ryan Schmidt wrote:
>> So I don't think changing the behavior of bin:- or lib:-style
>> dependencies is warranted. Port authors just need to use the
>> correct dependency style for what they're trying to do.
> My preference would be to have path: work this way, and bin search
> only inside $prefix.

Some ports I maintain require external tools in the configure script
(grep, awk, etc.). I don't want to force everyone to install the grep
port for this as Apple provided grep works for this. So I added
bin:grep:grep to depends_build, as this satisfies the dependency in
trace mode.


More information about the macports-dev mailing list