Port review of pure-ftpd

Ryan Schmidt ryandesign at macports.org
Tue Oct 27 20:37:29 PDT 2009


On Oct 27, 2009, at 21:58, Scott Haneda wrote:

> I do not really understand the conflicting variants issue, and seem  
> to be unable to find a lot of documentation on the matter.  In this  
> case, I know I can not append more than one language to the  
> configure.args, and wanted to solve that.  I suppose I am ok with  
> this though.

What questions do you have about conflicting variants? I'll certainly  
try to answer them.


> If someone has a nice and clean way to do it, I am all ears, but the  
> previous example posted here, I have looked at it a few times, and  
> to be honest, that seems like a lot of stuff to put in a port file  
> just to have languages not collide.

The example I submitted not only allows you to specify conflicting  
variants, but also allows the variants to be constructed  
programmatically, so that you don't have to repeat stuff in each  
variant, like you were doing, such as the description. Admittedly the  
variants themselves, from your previous portfile, are pretty simple;  
you don't gain as much by constructing them programmatically as the  
swig port did by doing so.





More information about the macports-dev mailing list