summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2007-05-25 18:53:41 +0000
committerEric Anholt <anholt@FreeBSD.org>2007-05-25 18:53:41 +0000
commit7d7c3a7fc1cc04115988f3c2abe7353516866c26 (patch)
tree329439d6336e9139cf7145766f249beaa6b40ef5 /graphics
parentVarious fixes for -CURRENT. (diff)
Add -DPTHREADS to custom mesa-demos config file, which fixes glthreads.
Notes
Notes: svn path=/head/; revision=191829
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