Invoking tcl

Scott Haneda talklists at newgeo.com
Fri Nov 6 18:24:00 PST 2009


Doing this sucks:

variant lang_brazilian             description "Use Brazilian language  
for server messages" { configure.args-append --with-language=brazilian }

variant lang_czech                 description "Use Czech language for  
server messages" { configure.args-append --with-language=czech }

repeat 15 more times...
it also does not add in the fact that one language is going to  
conflict with another.

So I made a tcp iteration that generated the correct code for the  
portfile from a list.  I can copy the output into the file, but would  
rather it eval in place.

I can not get the eval to work when I run port variants pure-ftpd, it  
just ignores it.
-- 
Scott * If you contact me off list replace talklists@ with scott@ *

On Nov 6, 2009, at 6:10 PM, Jordan K. Hubbard wrote:

> Well, I read your message a couple of times and still don't really  
> see a question in there anywhere.  What specifically are you asking?



More information about the macports-dev mailing list