diff options
author | mjacob <mjacob@FreeBSD.org> | 2001-06-11 05:40:29 +0800 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2001-06-11 05:40:29 +0800 |
commit | d52a9ad702b3b742f40c53e08b51c8ee36a2b8f1 (patch) | |
tree | 5d78d6e783c00740bb645aa021e50d984e8a5c48 /games | |
parent | b9fe3eb5cc4065acd73637baf04c72d397d21f4f (diff) | |
download | freebsd-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.Mesa | 4 |
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) |