[Fink-devel] Architecture dependent compile options

2006-08-01 Thread Benjamin Prud'homme
Hi everybody... I'm trying to make a package for e-uae, an amiga emulator (my first fink package)... The problem is that I want to use different compiling options on ppc and x86 architecture... I followed the example given at http://fink.sourceforge.net/doc/

Re: [Fink-devel] Architecture dependent compile options

2006-08-01 Thread Michèle Garoche
Le 1 août 2006 à 14:08, Benjamin Prud'homme a écrit :[ "$(uname -p)" = "powerpc" ]; then Does it work if you use:[ "$(uname -p)" == "powerpc" ]; thenNotice the double equality sign. PGP.sig Description: Ceci est une signature électronique PGP

Re: [Fink-devel] Architecture dependent compile options

2006-08-01 Thread Daniel Macks
On Tue, Aug 01, 2006 at 02:08:22PM +0200, Benjamin Prud'homme wrote: Now here is the interesting part of my .info file : ConfigureParams: --with-sdl-gfx --with-sdl-sound CompileScript: #!/bin/bash -ev if [ $(uname -p) = powerpc ]; then ./configure %c else

Re: [Fink-devel] Architecture dependent compile options

2006-08-01 Thread Michèle Garoche
Le 1 août 2006 à 14:08, Benjamin Prud'homme a écrit : Hi everybody... I'm trying to make a package for e-uae, an amiga emulator (my first fink package)... The problem is that I want to use different compiling options on ppc and x86 architecture... I followed the example given at