aboutsummaryrefslogtreecommitdiff
path: root/games/sdl-ball/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-09 14:51:28 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-09 14:51:28 +0000
commite0b43f34b621520020a8d07e72a413a8fead5b7f (patch)
tree2de3e46d9754e1450f98e6479bf8b44ab78a2292 /games/sdl-ball/files
parent2e481384481ce1ac75b07e1c1a90dd7c0584a3d4 (diff)
downloadports-e0b43f34b621520020a8d07e72a413a8fead5b7f.tar.gz
ports-e0b43f34b621520020a8d07e72a413a8fead5b7f.zip
Notes
Diffstat (limited to 'games/sdl-ball/files')
-rw-r--r--games/sdl-ball/files/patch-Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/games/sdl-ball/files/patch-Makefile b/games/sdl-ball/files/patch-Makefile
index ae25675fad73..78fbdf7b9163 100644
--- a/games/sdl-ball/files/patch-Makefile
+++ b/games/sdl-ball/files/patch-Makefile
@@ -1,12 +1,13 @@
---- Makefile.orig 2008-08-22 22:07:53.000000000 +0400
-+++ Makefile 2008-09-06 03:21:15.000000000 +0400
-@@ -1,7 +1,5 @@
+--- Makefile.orig 2008-09-16 16:54:41.000000000 +0400
++++ Makefile 2008-10-09 17:34:32.000000000 +0400
+@@ -1,8 +1,7 @@
-CC=g++
--#CFLAGS=-g -c -Wall
-CFLAGS=-c -Wall
--LDFLAGS=-lGL -lGLU -lSDL -lSDL_image -lSDL_ttf
+CFLAGS+=-c -Wall `${SDL_CONFIG} --cflags`
-+LDFLAGS=-lGL -lGLU `${SDL_CONFIG} --libs` -lSDL_image -lSDL_ttf
- # -lopenal
+ #append -lwiiuse if compiling WITH_WIIUSE
+ #remove -lSDL_mixer if NOT compiling WITH_SOUND
+-LDFLAGS=-lGL -lGLU -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer -lwiiuse
++LDFLAGS=-lGL -lGLU `${SDL_CONFIG} --libs` -lSDL_image -lSDL_ttf -lSDL_mixer
+
SOURCES=main.cpp
OBJECTS=$(SOURCES:.cpp=.o)