installing subport from a portdir

Ryan Schmidt ryandesign at macports.org
Tue Jun 11 14:51:43 UTC 2019



On Jun 11, 2019, at 09:49, René J.V. Bertin wrote:

>> sudo port install subport=py27-foo
> 
> Thanks!
> 
> Seems like something to mention in the port-install manual?

It's no different than overriding any other Portfile variable at the command line, e.g. sudo port install configure.compiler=clang; that's not mentioned in the man page either. Should it be? The use of command line variable overrides should not be encouraged for end users, though it is something developers might need occasionally.



More information about the macports-users mailing list