summaryrefslogtreecommitdiff
path: root/games/oolite/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/oolite/files/patch-makefile')
-rw-r--r--games/oolite/files/patch-makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/oolite/files/patch-makefile b/games/oolite/files/patch-makefile
index 2c0d06d39473..93cd7f9f31cd 100644
--- a/games/oolite/files/patch-makefile
+++ b/games/oolite/files/patch-makefile
@@ -18,8 +18,8 @@
- ADDITIONAL_OBJCFLAGS = -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `sdl-config --cflags`
- oolite_LIB_DIRS += -L/usr/X11R6/lib/
+ ADDITIONAL_OBJC_LIBS = -lGLU -lGL -lSDL_mixer -lSDL_image -lSDL_gfx -lgnustep-base `sdl-config --libs`
-+ ADDITIONAL_CFLAGS = -I${X11BASE}/include -DLINUX `sdl-config --cflags`
-+ ADDITIONAL_OBJCFLAGS = -I${X11BASE}/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `sdl-config --cflags`
-+ oolite_LIB_DIRS += -L${X11BASE}/lib/
++ ADDITIONAL_CFLAGS = -I${LOCALBASE}/include -DLINUX `sdl-config --cflags`
++ ADDITIONAL_OBJCFLAGS = -I${LOCALBASE}/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `sdl-config --cflags`
++ oolite_LIB_DIRS += -L${LOCALBASE}/lib/
endif
OBJC_PROGRAM_NAME = oolite