Subport known but not found (was: Re: "concurrent" qt4-mac: request feedback & testing for current port phase in Portfile?)

Ryan Schmidt ryandesign at macports.org
Fri Dec 12 10:03:48 PST 2014


On Dec 12, 2014, at 11:08 AM, Brandon Allbery wrote:

> On Fri, Dec 12, 2014 at 12:05 PM, René J.V. wrote:
subport ${name}-transitional {
> 
> I have yet to figure out the rules here, but one thing I tripped over when I was experimenting with subports is that this can be recursive. That is, if you select the subport, then $name is the subport name and the subport declaration ends up having the wrong name.

Mmmm, nope. ${name} is the top-level portname. ${subport} is the subport name. It's perfectly normal to declare a subport as "subport ${name}-something"; I do it all the time.


More information about the macports-dev mailing list