aboutsummaryrefslogtreecommitdiff
path: root/games/tank
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2001-06-10 21:40:29 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2001-06-10 21:40:29 +0000
commit8085879d4ac5b5aa63fc5332d955abd701e741c8 (patch)
tree8cba05765b8543107fc6c41586ff411db1014366 /games/tank
parentaa878d3f247d466575cb1cd2e0202763f2bfb235 (diff)
downloadports-8085879d4ac5b5aa63fc5332d955abd701e741c8.tar.gz
ports-8085879d4ac5b5aa63fc5332d955abd701e741c8.zip
A more correct patch as suggested by some folks- use PTHREAD_LIBS and
PTHREAD_CFLAGS and embed them in the MAKE_ENV variable.
Notes
Notes: svn path=/head/; revision=43782
Diffstat (limited to 'games/tank')
-rw-r--r--games/tank/files/patch-Makefile.Linux.Mesa4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/tank/files/patch-Makefile.Linux.Mesa b/games/tank/files/patch-Makefile.Linux.Mesa
index bdb477c01d4f..3a6d991868b2 100644
--- a/games/tank/files/patch-Makefile.Linux.Mesa
+++ b/games/tank/files/patch-Makefile.Linux.Mesa
@@ -16,7 +16,7 @@ $FreeBSD$
+INCLUDE = -I$(X11BASE)/include -I$(X11BASE)/include/GL
-CFLAGS = $(INCLUDE) $(ARCH) -O2 -m486 -Wall -pipe \
-+CFLAGS += $(INCLUDE) $(ARCH) -DSOUND -Wall -pipe \
++CFLAGS += $(INCLUDE) $(ARCH) -DSOUND -Wall -pipe ${PTHREAD_CFLAGS} \
-pedantic -funroll-loops -mieee-fp
-LDFLAGS = -L/usr/X11R6/lib -L$(MESA)/lib
@@ -38,7 +38,7 @@ $FreeBSD$
$(CC) -o $(EXECNAME) $(Obj) $(LDFLAGS) \
- -lMesaaux -lMesatk -lMesaGLU -lMesaGL \
- -lXext -lX11 -lm
-+ -laux -lGLU -lGL -lXext -lX11 -lm -pthread
++ -laux -lGLU -lGL -lXext -lX11 -lm $(PTHREAD_LIBS)
@echo "****** Done ******"
linux: $(Obj)