aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mesa-demos/files
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2007-05-26 02:53:41 +0800
committeranholt <anholt@FreeBSD.org>2007-05-26 02:53:41 +0800
commit7f1c0228ca70b48e91b0abf448ff3e905cba4117 (patch)
treedaa3d65551cc1a8ae025f31bee62863e7bd469ef /graphics/mesa-demos/files
parent588cf2989b059e767186e9f989398c0ebd8c1ee3 (diff)
downloadfreebsd-ports-gnome-7f1c0228ca70b48e91b0abf448ff3e905cba4117.tar.gz
freebsd-ports-gnome-7f1c0228ca70b48e91b0abf448ff3e905cba4117.tar.zst
freebsd-ports-gnome-7f1c0228ca70b48e91b0abf448ff3e905cba4117.zip
Add -DPTHREADS to custom mesa-demos config file, which fixes glthreads.
Diffstat (limited to 'graphics/mesa-demos/files')
-rw-r--r--graphics/mesa-demos/files/config3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/mesa-demos/files/config b/graphics/mesa-demos/files/config
index 82ff79624131..c35ac607c925 100644
--- a/graphics/mesa-demos/files/config
+++ b/graphics/mesa-demos/files/config
@@ -8,7 +8,8 @@
_CC := $(CC)
_CXX := $(CXX)
-_CFLAGS := -fPIC -pedantic -I$(X11BASE)/include -DUSE_XSHM -DHZ=100 $(CFLAGS)
+_CFLAGS := -fPIC -pedantic -I$(X11BASE)/include -DUSE_XSHM -DHZ=100 $(CFLAGS) \
+ -DPTHREADS
_CXXFLAGS := -fPIC -pedantic $(CXXFLAGS)
include $(TOP)/configs/default