On 9 Dec 2011, at 10:34pm, 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.

I have no idea. Seems rather messy …

> 
> 
> Regards,
> Bradley Giesbrecht (pixilla)
> 
> 
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to