A way to add a variant from command-line?

Ryan Schmidt ryandesign at macports.org
Wed Jul 2 11:54:39 PDT 2008


On Jul 2, 2008, at 08:50, Tabitha McNerney wrote:

> I was wondering, is there a way, with the port command-line  
> program, to add a variant to a port that you want to install  
> without having to edit / modify its Portfile? I kind of was  
> wondering because several days ago Rainer mentioned that you can do  
> this type of thingy - magic on the command-line:
>
> $ sudo port install gnutar configure.compiler=macports-gcc-4.2
>
> It would be cool if one could add a variant in a similar manner, am  
> I dreaming? ;-)

I don't know of a way to do that. Why do you want to?



More information about the macports-users mailing list