gmsh
Vincent Habchi
vince at macports.org
Fri Dec 28 11:53:16 PST 2012
Ryan,
>> How exactly do you use require_active_variants (I can’t seem to find any help)? You just append the ports and the procedure pulls in any variant present in the parameters but missing in the Portfile being built?
>
> I haven't used it myself yet. If the portgroup file itself doesn't contain adequate documentation, I would `grep` the Portfiles to find a port using it and try to figure it out.
The portgroup is crystal clear, but require_active_variants does not match was I am looking for. It just checks if a port has been installed with required variants (or without banned variants), but does not return the variants per se. I’ll stick to my code that seems to be used in the portgroup too (so I guess it is correct).
Vincent
More information about the macports-dev
mailing list