installing subport from a portdir

Ryan Schmidt ryandesign at
Tue Jun 11 14:38:53 UTC 2019

On Jun 11, 2019, at 08:05, René J.V. Bertin wrote:

> It's possible to install a port by executing `port install` from within a portdir (that is not in a declared ports tree). But as soon as you include a port name the local Portfile will be ignored, so how does one install a subport from such a portdir, e.g. from a py-foo port where the main port is a stub?

sudo port install subport=py27-foo

More information about the macports-users mailing list