aboutsummaryrefslogtreecommitdiff
path: root/games/sdl-ball/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/sdl-ball/files/patch-Makefile')
-rw-r--r--games/sdl-ball/files/patch-Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/sdl-ball/files/patch-Makefile b/games/sdl-ball/files/patch-Makefile
index a51dc4d34ffd..43677742c1b3 100644
--- a/games/sdl-ball/files/patch-Makefile
+++ b/games/sdl-ball/files/patch-Makefile
@@ -1,17 +1,17 @@
---- Makefile.orig 2008-11-09 18:39:41.000000000 +0300
-+++ Makefile 2008-11-12 21:34:21.000000000 +0300
+--- Makefile.orig 2008-11-19 22:52:22.000000000 +0300
++++ Makefile 2008-11-24 14:48:47.000000000 +0300
@@ -2,13 +2,12 @@
#append -DWITH_WIIUSE to compile with WIIUSE support!
#append -DNOSOUND to compile WITHOUT sound support
-CC=g++ -DDATADIR="\"$(DATADIR)\""
--CFLAGS+=-c -Wall
-+CFLAGS+=-c -Wall -DDATADIR="\"$(DATADIR)\"" `${SDL_CONFIG} --cflags`
+-CFLAGS+=-c -Wall `sdl-config --cflags`
++CFLAGS+=-c -Wall `${SDL_CONFIG} --cflags` -DDATADIR="\"$(DATADIR)\""
#append -lwiiuse to compile with WIIUSE support
#remove -lSDL_mixer if compiling with -DNOSOUND
--LDFLAGS+=-lGL -lGLU -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer
+-LDFLAGS+=-lGL -lGLU `sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
+LDFLAGS+=-lGL -lGLU `${SDL_CONFIG} --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
SOURCES=main.cpp