Re: Looking for a solution to compile MacPorts and maintain my packages

2009-07-02 Thread Jean-Michel Pouré
On Thu, 2009-07-02 at 06:47 +1000, Joshua Root wrote: It's a 450 MHz machine though... Finaly I am buying a 1Ghz G4 with 1Go memory to the same dealer. Thanks. ___ macports-dev mailing list macports-dev@lists.macosforge.org

Re: tar version comparison

2009-07-02 Thread Darren Weber
On Wed, Jul 1, 2009 at 3:57 PM, Joshua Root j...@macports.org wrote: On 2009-7-2 07:16, Darren Weber wrote: I need to test if the system has a tar version between 1.14 and 1.14.90, what is the best way to do this in tcl? Toby has answered your question, but it seems like you'd be better

Re: tar version comparison

2009-07-02 Thread Darren Weber
On Wed, Jul 1, 2009 at 3:57 PM, Joshua Root j...@macports.org wrote: On 2009-7-2 07:16, Darren Weber wrote: I need to test if the system has a tar version between 1.14 and 1.14.90, what is the best way to do this in tcl? Toby has answered your question, but it seems like you'd be better

Re: tar version comparison

2009-07-02 Thread Bryan Blackburn
On Thu, Jul 02, 2009 at 11:56:57AM -0700, Darren Weber said: On Wed, Jul 1, 2009 at 2:20 PM, Toby Peterson t...@apple.com wrote: pextlib provides 'rpm-vercomp' which probably does what you want. Is this command available in a Portfile? Where are the docs on how to use it? 'man

Re: tar version comparison

2009-07-02 Thread Kristofer Henriksson
Even with that variant, gnutar will still be available under the name gnutar, so you can always run gnutar without worrying about whether you have that variant or not. The variant just adds symlinks for everything. Regards, Kristofer On Thu, Jul 2, 2009 at 2:54 PM, Darren

Re: tar version comparison

2009-07-02 Thread Darren Weber
Oh, great. That should save a bunch of this sort of stuff: #if [file exists ${prefix}/bin/gnutar] { # set gnutar ${prefix}/bin/gnutar #} elseif [file exists ${prefix}/bin/tar] { # set gnutar ${prefix}/bin/tar #} #set tarVer [lrange [split [exec $gnutar --version]] 3 3] #rpm-vercomp $tarVer