On Mon, May 18, 2009 at 10:13:31AM -0500, Chuck Robey wrote:
> I'm having problems figuring out things, in producing the editors/vim  
> port.  The DESCR file gives me a good list of the flavors I can use, but  
> I've got a problem, because I need two of these flavors (gtk2 and  
> python).  I have 2 problems here: (1), I don't know how to format the  
> FLAVORS variable for 2 values (what do I use to link them, spaces,  
> dashes, etc).  (2), the FAQ seems to be telling me that all FLAVORS get  
> their own build directories, but for this port (vim), I need both of  
> these flavors at once (in the same executable).  If I can't get that,  
> then I'll be forced to build it by hand, because having separate python  
> and gtk2 flavors of vim would be unuseable for me.
>
> So, I'm asking if the 2 flavors are used together to produce just a  
> single product, and how do I produce the FLAVORS variable so that it  
> uses both values?  BTW, as am experiment, I tried using this: "make  
> FLAVORS="gtk2-python", but make just gives me an error saying:
>
> TCSH-april:root:/usr/ports/editors/vim:#1#make FLAVORS="gtk2-python"
> Fatal: Unknown flavor: gtk2 (in editors/vim)
>   (Possible flavors are: gtk2-python). (in editors/vim)
> *** Error code 1
> Stop.
>
> So, that didn't work.  It would have been nice if there had been even a  
> single example of setting multiple FLAVORS in either the FAQ or the man  
> page.  If there's no way to do what I need, just tell me, and I'll see  
> about building it myself.
>
> Thanks

man ports(7)

"
More than one flavor may be specified:

           $ cd /usr/ports/mail/exim
           $ env FLAVOR="mysql ldap" make package
"

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org

Reply via email to