Forcing a variant to a variant

Ryan Schmidt ryandesign at macports.org
Thu Jun 4 16:01:10 PDT 2009


On Jun 4, 2009, at 17:49, Scott Haneda wrote:

> I want to do this:
> variant clamav description {Enable virus scanning} {
>      depends_lib-append port:clamav +server
> }
>
> This errors on me, I assume as a result of the +server, which is  
> clamav just installs a startup item.
>
> Within my port, I will want to be able to do:
> port install assp +clamav and have the +server forced.

It is not possible. This is issue #126.

Consider requesting that the +server variant be removed from the  
clamav port, and a new port clamav-server be created instead. See the  
postgresql ports and (in a moment) the mysql5 port for examples of  
this strategy.





More information about the macports-dev mailing list