warnings if dependencies don't have the correct variants ?
pixilla at macports.org
Fri Dec 9 14:34:54 PST 2011
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.
Bradley Giesbrecht (pixilla)
More information about the macports-users