aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-08-15 15:09:40 +0800
committersobomax <sobomax@FreeBSD.org>2001-08-15 15:09:40 +0800
commit7a9ac42581536191b949639d444cefa8320326b9 (patch)
treef7621dcd5987a44a27e61afc000a8a627a5f46ae /games
parent9aac22b34eb38180a3969f1e24d984e8646cc11c (diff)
downloadfreebsd-ports-gnome-7a9ac42581536191b949639d444cefa8320326b9.tar.gz
freebsd-ports-gnome-7a9ac42581536191b949639d444cefa8320326b9.tar.zst
freebsd-ports-gnome-7a9ac42581536191b949639d444cefa8320326b9.zip
Unbrore with threaded Mesa.
PR: 29594 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'games')
-rw-r--r--games/bzflag/Makefile3
-rw-r--r--games/bzflag/files/patch-Make-common33
2 files changed, 32 insertions, 4 deletions
diff --git a/games/bzflag/Makefile b/games/bzflag/Makefile
index 1bbfa3bddc39..0155c908b3dd 100644
--- a/games/bzflag/Makefile
+++ b/games/bzflag/Makefile
@@ -21,7 +21,8 @@ USE_XLIB= yes
USE_MESA= yes
MAKE_ENV= PORTCFLAGS="${CFLAGS}" PORTCXXFLAGS="${CXXFLAGS}" \
- PORTPREFIX="${PREFIX}"
+ PORTPREFIX="${PREFIX}" PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
MAN6= bzflag.6 bzfrelay.6 bzfls.6 bzfs.6
diff --git a/games/bzflag/files/patch-Make-common b/games/bzflag/files/patch-Make-common
index dcc937caa9e0..91eb9560ea63 100644
--- a/games/bzflag/files/patch-Make-common
+++ b/games/bzflag/files/patch-Make-common
@@ -1,6 +1,33 @@
---- Make-common.orig Sat Mar 24 02:21:48 2001
-+++ Make-common Sat Mar 24 02:13:00 2001
-@@ -169,13 +169,13 @@
+--- Make-common.orig Wed Feb 14 03:34:09 2001
++++ Make-common Fri Aug 10 01:04:44 2001
+@@ -33,7 +33,7 @@
+ #
+ # C options
+ #
+-CFLAGS = $(LCFLAGS) $(PCFLAGS) $(GCFLAGS) $(COPTIMIZER) $(MKDEPOPT) $(CWOFF)
++CFLAGS = $(LCFLAGS) $(PCFLAGS) $(GCFLAGS) $(COPTIMIZER) $(MKDEPOPT) $(CWOFF) ${PTHREAD_CFLAGS}
+ LCFLAGS = $(LCDEFS) $(LCINCS) $(LCOPTS)
+ PCFLAGS = $(PCDEFS) $(PCINCS) $(PCOPTS)
+ GCFLAGS = $(GCDEFS) $(GCINCS) $(GCOPTS)
+@@ -51,7 +51,7 @@
+ #
+ # C++ options
+ #
+-CXXFLAGS = $(LCXXFLAGS) $(PCXXFLAGS) $(GCXXFLAGS) $(CXXOPTIMIZER) $(MKDEPOPT) $(CXXWOFF)
++CXXFLAGS = $(LCXXFLAGS) $(PCXXFLAGS) $(GCXXFLAGS) $(CXXOPTIMIZER) $(MKDEPOPT) $(CXXWOFF) ${PTHREAD_CFLAGS}
+ LCXXFLAGS = $(LCXXDEFS) $(LCXXINCS) $(LCXXOPTS)
+ PCXXFLAGS = $(PCXXDEFS) $(PCXXINCS) $(PCXXOPTS)
+ GCXXFLAGS = $(GCXXDEFS) $(GCXXINCS) $(GCXXOPTS)
+@@ -69,7 +69,7 @@
+ #
+ # ld options
+ #
+-LDFLAGS = $(LDOPTS) $(LDLIBS)
++LDFLAGS = $(LDOPTS) $(LDLIBS) ${PTHREAD_LIBS}
+ LDOPTS = $(LLDOPTS) $(PLDOPTS) $(GLDOPTS)
+ LDLIBS = $(LLDLIBS) $(PLDLIBS) $(GLDLIBS)
+
+@@ -167,13 +167,13 @@
#
# default to optimized build
#