games/cave9: fix build on GCC architectures
In file included from display.c:19: /usr/local/include/SDL/SDL_opengl.h:116:1: error: "GL_GLEXT_VERSION" redefined In file included from /usr/local/include/GL/gl.h:2050, from /usr/local/include/SDL/SDL_opengl.h:46, from display.c:19: /usr/local/include/GL/glext.h:54:1: error: this is the location of the previous definition
This commit is contained in:
parent
8d19be409b
commit
da4d61d214
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555436
@ -18,7 +18,7 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= bart9h
|
||||
GH_TAGNAME= e6896eb
|
||||
|
||||
USES= gl gmake sdl
|
||||
USES= compiler:c++11-lang gl gmake sdl
|
||||
USE_SDL= sdl ttf image
|
||||
USE_GL= gl glu
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
-CFLAGS += -std=c99 -Wall -Werror -ggdb `sdl-config --cflags`
|
||||
-LDFLAGS += -lSDL_ttf -lSDL_image `sdl-config --libs` -L/usr/X11/lib -lGL -lGLU -lm
|
||||
+CFLAGS += -std=c99 -Wall -Werror -isystem ${LOCALBASE}/include `sdl-config --cflags`
|
||||
+CFLAGS += -std=c99 -Wall -isystem ${LOCALBASE}/include `sdl-config --cflags`
|
||||
+LDFLAGS += -lSDL_ttf -lSDL_image -L${LOCALBASE}/lib `sdl-config --libs` -lGL -lGLU -lm
|
||||
|
||||
ifdef GLOBAL_SCORE
|
||||
|
Loading…
Reference in New Issue
Block a user