See also: https://trac.macports.org/wiki/FAQ#dependonvariant
vq On Dec 9, 2011, at 5:34 p.m., Bradley Giesbrecht wrote: > > On Dec 9, 2011, at 2:23 PM, Chris Jones wrote: > >> Hi, >> >> Is it possible for a port to check if one of its dependencies is installed >> with a required variant, and warn if not ? >> >> I ask since the opengl variant of the root port requires mesa to be >> installed with the x11 variant, which is not the default. The build fails if >> this isn't the case. >> >> The the last update to root I have disabled the opengl variant by default >> (previously enabled) because of this, but people upgrading are still running >> into problems. > > If the dependent port/variant combination installs different files you could > check for their existence/non-existence. > > > Regards, > Bradley Giesbrecht (pixilla) > > > > > _______________________________________________ > macports-users mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
