subports and variants

Ryan Schmidt ryandesign at macports.org
Tue Jan 10 17:55:14 PST 2012


On Jan 10, 2012, at 19:35, Mark Brethen wrote:

> Is there a way to check if a variant was installed by one subport, when installing another subport in the same port. Does variant isset_work this way?

subports are separate ports basically. They share as much code as you want, but that's it. To check if a variant of another port is set, you have to do the same workarounds you always have to do: check for the presence of a file that only that variant installs.




More information about the macports-dev mailing list