aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
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
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')
-rw-r--r--graphics/mesa-demos/Makefile2
-rw-r--r--graphics/mesa-demos/files/config3
2 files changed, 3 insertions, 2 deletions
diff --git a/graphics/mesa-demos/Makefile b/graphics/mesa-demos/Makefile
index e0fd2f477da9..d92364f3cc35 100644
--- a/graphics/mesa-demos/Makefile
+++ b/graphics/mesa-demos/Makefile
@@ -7,7 +7,7 @@
PORTNAME= demos
PORTVERSION= 6.5.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= mesa3d/
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