diff options
Diffstat (limited to 'games/solarconquest/files/patch-makefile')
-rw-r--r-- | games/solarconquest/files/patch-makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/solarconquest/files/patch-makefile b/games/solarconquest/files/patch-makefile index 349e95e25db3..16aa0fd0bb99 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) |