aboutsummaryrefslogtreecommitdiff
path: root/games/goonies/files/patch-build-linux-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/goonies/files/patch-build-linux-Makefile')
-rw-r--r--games/goonies/files/patch-build-linux-Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/goonies/files/patch-build-linux-Makefile b/games/goonies/files/patch-build-linux-Makefile
index e4155ebbabe3..092ac03be7e8 100644
--- a/games/goonies/files/patch-build-linux-Makefile
+++ b/games/goonies/files/patch-build-linux-Makefile
@@ -15,7 +15,7 @@
-LDFLAGS = `sdl-config --libs` -L/usr/X11R6/lib/ -lSDL_image -lSDL_mixer -lSDL_sound -lGL -lGLU
+CC ?= c++
+CFLAGS += -Wall `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
-+LDFLAGS += `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lSDL_image -lSDL_mixer -lGL -lGLU
++LDFLAGS += `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lSDL_image -lSDL_mixer -lGL -lGLU -lm
RM = rm -f
CP = cp -r
LN = ln -s