Replacing a variant with many dependencies

Bradley Giesbrecht pixilla at macports.org
Sat Feb 25 14:19:58 PST 2012


On Feb 25, 2012, at 5:11 AM, Freek Dijkstra wrote:

> This questions must have been asked a 1000 times, but I can't seem to
> find the answer with Google.
> 
> I like to change a variant of a port with many dependencies.
> 
> In my case, change "python27" to "python27 +ucs4"
> 
> Unfortunately, a simple `port install python27 +ucs4` fails.

If I understand correctly you have "python27" installed and want "python27 +ucs4".

I believe "upgrade --enforce-variants" is what you want:
$ sudo port upgrade --enforce-variants python27 +ucs4


Regards,
Bradley Giesbrecht (pixilla)







More information about the macports-users mailing list