diff options
Diffstat (limited to 'games/el/files/patch-Makefile.bsdg')
-rw-r--r-- | games/el/files/patch-Makefile.bsdg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/games/el/files/patch-Makefile.bsdg b/games/el/files/patch-Makefile.bsdg index 281882f69ad1..3a5baedbdd9a 100644 --- a/games/el/files/patch-Makefile.bsdg +++ b/games/el/files/patch-Makefile.bsdg @@ -15,7 +15,7 @@ -PLATFORM=-march=i686 -XDIR=-L/usr/X11R6/lib -+XDIR=-L$(X11BASE)/lib -L$(LOCALBASE)/lib ++XDIR=-L$(LOCALBASE)/lib CWARN= #-Wdeclaration-after-statement -Wall -Werror CPPWARN= @@ -28,7 +28,7 @@ -_CXXFLAGS=$(PLATFORM) -O3 -fomit-frame-pointer -ffast-math -pipe $(OPTIONS) +CFLAGS+=$(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -I/usr/X11R6/include/ +_CFLAGS=$(CFLAGS) $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -+CXXFLAGS+=-I$(LOCALBASE)/include -I$(X11BASE)/include $(OPTIONS) ++CXXFLAGS+=-I$(LOCALBASE)/include $(OPTIONS) +_CXXFLAGS=$(CXXFLAGS) -fomit-frame-pointer -ffast-math -pipe $(OPTIONS) -LDFLAGS=$(shell sdl11-config --libs) $(shell xml2-config --libs) -lSDL_net -lSDL_image -lopenal $(XDIR) -lGL -lGLU -lvorbis -lvorbisfile -lcal3d -lm -lpng |