Forcing a variant to a variant

Rainer Müller raimue at macports.org
Thu Jun 4 17:04:53 PDT 2009


On 2009-06-05 01:54, Bradley Giesbrecht wrote:
> There is:
> /opt/local/etc/macports/variants.conf
> 
> where you could put:
> +server
> 
> and I believe you will get the +server add to all ports that port  
> builds, no?

Yes, that would select +server automatically if available.

> I mentioned recently gentoo's package.mask for masking packages or  
> packages above a version. Personally I'd like something like that in  
> ports.

Masking ports is not too useful if you only got one version as opposed
to Gentoo where you can choose the version.

> Wouldn't it be useful and simple to add the capability to /opt/local/ 
> macports/variants.conf to specify a port:variant combo?
> clamav+server
> mysql+server

This would not resolve the dependency issue, so this is not related.
Variants are being selected at the time of install.

Rainer


More information about the macports-dev mailing list