warnings if dependencies don't have the correct variants ?

Lawrence Velázquez larry.velazquez at gmail.com
Fri Dec 9 14:50:52 PST 2011


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
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list