summaryrefslogblamecommitdiff
path: root/games/redeclipse16/files/patch-src_Makefile
blob: 95c5dfa2c78b0ef3cd74bfc0248f9db6ba8b3e31 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                            
--- src/Makefile.orig	2016-06-30 04:34:23 UTC
+++ src/Makefile
@@ -82,8 +82,8 @@ else
 BIN_SUFFIX=_native
 endif
 endif
-CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl2-config --cflags`
-CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL
+CLIENT_INCLUDES= $(INCLUDES) -I${LOCALBASE}/include `sdl2-config --cflags`
+CLIENT_LIBS= -Lenet -lenet -L${LOCALBASE}/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL
 endif
 ifneq (,$(findstring linux,$(PLATFORM)))
 CLIENT_LIBS+= -lrt