1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/games/neverball/files/patch-Makefile
2004-07-13 03:11:15 +00:00

29 lines
900 B
Plaintext

--- Makefile.orig Sat Jul 10 20:20:15 2004
+++ Makefile Sat Jul 10 20:21:13 2004
@@ -3,20 +3,20 @@
# Maybe you need one of these. Maybe you don't.
-#X11_PATH= -L/usr/X11/lib
-#X11_PATH= -L/usr/X11R6/lib
+X11_PATH= -L${X11BASE}/lib
+X11_PATHI= -I${X11BASE}/include
OGL_LIBS= -lGL -lm
#OGL_LIBS= -lm # Think Different
#------------------------------------------------------------------------------
-CFLAGS= -Wall -O3 -ansi $(shell sdl-config --cflags)
+CFLAGS+= -Wall -ansi $(shell ${SDL_CONFIG} --cflags) ${X11_PATHI}
#CFLAGS= -Wall -g -ansi $(shell sdl-config --cflags)
#CFLAGS= -Wall -pg -ansi $(shell sdl-config --cflags)
-SDL_LIBS= $(shell sdl-config --libs)
-FT2_LIBS= $(shell freetype-config --libs)
+SDL_LIBS= $(shell ${SDL_CONFIG} --libs)
+FT2_LIBS= $(shell %%FREETYPE_CONFIG%% --libs)
MAPC_TARG= mapc
BALL_TARG= neverball