From 8085879d4ac5b5aa63fc5332d955abd701e741c8 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sun, 10 Jun 2001 21:40:29 +0000 Subject: A more correct patch as suggested by some folks- use PTHREAD_LIBS and PTHREAD_CFLAGS and embed them in the MAKE_ENV variable. --- games/tank/files/patch-Makefile.Linux.Mesa | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games/tank') 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) -- cgit v1.2.3