Will "port install tea +foo" build the port coffee +bar? Portfile tea: depends_lib port:coffee variant foo requires bar { } variant bar { } ====================== Portfile coffee: variant bar { } Kind regards Thomas
I don't believe so, but this is undocumented. However, I don't think it should either. Here's a setup where it will cause confusion: http://pastie.textmate.org/153371 There's no requirement that dependencies are processed in order, and just looking at the 'tea' Portfile in my example, there would be no way of knowing that 'milk' will get built with +bar. This should be documented, sure, but I don't think it should be changed. However, I do think this is another example of how our dependency engine fails. -Kevin Ballard On Feb 10, 2008, at 5:38 PM, Thomas Reifferscheid wrote:
Will "port install tea +foo" build the port coffee +bar?
Portfile tea:
depends_lib port:coffee
variant foo requires bar { } variant bar { }
======================
Portfile coffee:
variant bar { }
Kind regards Thomas _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-dev
-- Kevin Ballard http://kevin.sb.org eridius@macports.org http://www.tildesoft.com
participants (2)
-
Kevin Ballard
-
Thomas Reifferscheid