Re: Executing scripts during configure

2008-02-06 Thread N_Ox
Le 6 févr. 08 à 14:04, Michael Franz a écrit : On Feb 6, 2008 2:07 AM, N_Ox <[EMAIL PROTECTED]> wrote: Le 6 févr. 08 à 08:01, Ryan Schmidt a écrit : > > > It would probably be: > > set libgcj [exec find ${prefix}/share/java -name "libgcj-4\.2*.jar"] > > (unless you use fs-traverse like Dani

Re: Executing scripts during configure

2008-02-06 Thread Michael Franz
On Feb 6, 2008 2:07 AM, N_Ox <[EMAIL PROTECTED]> wrote: > Le 6 févr. 08 à 08:01, Ryan Schmidt a écrit : > > > > > > > It would probably be: > > > > set libgcj [exec find ${prefix}/share/java -name "libgcj-4\.2*.jar"] > > > > (unless you use fs-traverse like Daniel said) > > > > I think the curren

Re: Executing scripts during configure

2008-02-05 Thread N_Ox
Le 6 févr. 08 à 08:01, Ryan Schmidt a écrit : It would probably be: set libgcj [exec find ${prefix}/share/java -name "libgcj-4\.2*.jar"] (unless you use fs-traverse like Daniel said) I think the current policy is to avoid any exec/system call when we can do it in a pure TCL fashion. -

Re: Executing scripts during configure

2008-02-05 Thread Ryan Schmidt
On Feb 5, 2008, at 20:40, Michael Franz wrote: Add a pre-configure phase which finds those files and generates the string/path that you want to pass to configure, put it in a portfile- local variable and then add it to your configure args by using that variable. Any hints on how to do this? I

Re: Executing scripts during configure

2008-02-05 Thread Daniel J. Luke
On Feb 5, 2008, at 9:40 PM, Michael Franz wrote: Add a pre-configure phase which finds those files and generates the string/path that you want to pass to configure, put it in a portfile- local variable and then add it to your configure args by using that variable. Any hints on how to do this? I

Re: Executing scripts during configure

2008-02-05 Thread Michael Franz
> > Add a pre-configure phase which finds those files and generates the > string/path that you want to pass to configure, put it in a portfile- > local variable and then add it to your configure args by using that > variable. > Any hints on how to do this? I have not found many examples. The one

Re: Executing scripts during configure

2008-02-05 Thread Daniel J. Luke
On Feb 5, 2008, at 8:34 PM, Michael Franz wrote: Is it possible to put something like this in the configure parameters? You don't need to do it this way. --with-libgcj-jar=`find ${prefix}/share/java -name "libgcj-4\. 2*.jar"` \ This does not work as I get the following error: Error: Unable