Hacking libsdl

macports-users-owner at lists.macosforge.org macports-users-owner at lists.macosforge.org
Thu Mar 8 14:33:49 PST 2007


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 -Dmain=SDL_main ?

yves






More information about the macports-users mailing list