warnings if dependencies don't have the correct variants ?
jonesc at hep.phy.cam.ac.uk
Fri Dec 9 15:04:59 PST 2011
On 9 Dec 2011, at 10:34pm, Bradley Giesbrecht wrote:
> On Dec 9, 2011, at 2:23 PM, Chris Jones wrote:
>> 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 …
> Bradley Giesbrecht (pixilla)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2966 bytes
Desc: not available
More information about the macports-users