Forcing a variant to a variant

Jeremy Lavergne jeremy at lavergne.gotdns.org
Thu Jun 4 17:47:27 PDT 2009


> Duplication will have to happen on name, desc, long desc,  I  
> assume?  Version probably does not matter in any strict sense, as it  
> is not really downloading anything?

Right

> So with +server and +clamav_milter what do you do?  I am now seeing  
> the need for these ports:
>
> clamav - base port, gets you cpam
> clamav-server - depends on clamav but installs a startup item
> clamav-clamav_milter - depends on clamav, but installs clamav_milter
> clamav-server-milter - depends on clamav, gets you milter and the  
> startup item
>
> I need some guidance here, I am seeing this very quickly getting out  
> of hand where there are ports with more than one variant.

The variants used descend through the dependency tree:  If you install  
+milter on clamav-server, +milter will get used on clamav.  At least,  
this is what I believe:  Try it and find out.

> If I need assp to depend on clam, and clam to have +server and  
> +clam_av_milter, what do you suggest?  * I do not need milter at  
> this time, just wondering.
>
> I am leaning on just not including the clamav as a variant for assp,  
> but it is so logical to have it at the same time.

This should all follow from using the variants in the server port.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090604/9d22e6b8/attachment-0001.bin>


More information about the macports-dev mailing list