summaryrefslogtreecommitdiffstats
path: root/games/solarconquest/files/patch-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/solarconquest/files/patch-makefile')
-rw-r--r--games/solarconquest/files/patch-makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/solarconquest/files/patch-makefile b/games/solarconquest/files/patch-makefile
index 349e95e..16aa0fd 100644
--- a/games/solarconquest/files/patch-makefile
+++ b/games/solarconquest/files/patch-makefile
@@ -3,8 +3,8 @@
@@ -1,5 +1,5 @@
-LIBRARIES = `sdl-config --libs` -L/usr/X11R6/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg
-CFLAGS = -w -O3 -I/usr/include/GL `sdl-config --cflags`
-+LIBRARIES = `${SDL_CONFIG} --libs` -L${X11BASE}/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg
-+CXXFLAGS += `${SDL_CONFIG} --cflags` -I${X11BASE}/include
++LIBRARIES = `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib -lSDL_mixer -lSDL_image -lGL -lGLU -lpng -ljpeg
++CXXFLAGS += `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
all:
- g++ $(CFLAGS) -o solar ./source/main.cpp $(LIBRARIES)
OpenPOWER on IntegriCloud