Re: Hacking libsdl

2007-03-16 Thread Nathan Brazil
Yes, Yves. Bad copy/paste on my part. So, I made the following change to libsdl's Portfile: 47 platform darwin 8 { 48 patchfiles patch-configure 49 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 -Dmain=SDL_main 50 build.env

Re: Hacking libsdl

2007-03-16 Thread David MacMahon
On Mar 16, 2007, at 7:22 , Nathan Brazil wrote: checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. Does config.log provide any clues? My guess would be a filesystem issue (insufficient permissions

Hacking libsdl

2007-03-08 Thread Nathan Brazil
Hi. I am trying to hack the Portfile for libsdl so that I can add the following argument to CC: -D-Dmain=SDL_main Can someone please show me how to do this? Thanks! ___ macports-users mailing list macports-users@lists.macosforge.org

Re: Hacking libsdl

2007-03-08 Thread macports-users-owner
Le 07-03-08 à 14:01, Nathan Brazil a écrit : Hi. I am trying to hack the Portfile for libsdl so that I can add the following argument to CC: -D-Dmain=SDL_main Can someone please show me how to do this? This is defined as a CFLAGS in configure.env However, are you sure it is not