aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-06-11 05:40:29 +0800
committermjacob <mjacob@FreeBSD.org>2001-06-11 05:40:29 +0800
commitd52a9ad702b3b742f40c53e08b51c8ee36a2b8f1 (patch)
tree5d78d6e783c00740bb645aa021e50d984e8a5c48 /games
parentb9fe3eb5cc4065acd73637baf04c72d397d21f4f (diff)
downloadfreebsd-ports-gnome-d52a9ad702b3b742f40c53e08b51c8ee36a2b8f1.tar.gz
freebsd-ports-gnome-d52a9ad702b3b742f40c53e08b51c8ee36a2b8f1.tar.zst
freebsd-ports-gnome-d52a9ad702b3b742f40c53e08b51c8ee36a2b8f1.zip
A more correct patch as suggested by some folks- use PTHREAD_LIBS and
PTHREAD_CFLAGS and embed them in the MAKE_ENV variable.
Diffstat (limited to 'games')
-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)