summaryrefslogtreecommitdiff
path: root/graphics/mesa-demos
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2010-03-12 08:24:17 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2010-03-12 08:24:17 +0000
commit9d8f3958f9d205301a2ab21c5183138612419034 (patch)
tree1ced6bf259d29006fc25f0bd16dfe2679db68cec /graphics/mesa-demos
parentFix compilation with gcc44. (diff)
Fix buid error.
PR: ports/140792 Submitted by: lioux Approved by: araujo Committed at: AsiaZBSDCon 2010 DevSummit at Kagurazaka, Tokyo, Japan
Notes
Notes: svn path=/head/; revision=250947
Diffstat (limited to 'graphics/mesa-demos')
-rw-r--r--graphics/mesa-demos/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/mesa-demos/Makefile b/graphics/mesa-demos/Makefile
index 70af6e970155..e7a3673dcd14 100644
--- a/graphics/mesa-demos/Makefile
+++ b/graphics/mesa-demos/Makefile
@@ -40,6 +40,8 @@ do-install:
.include "${.CURDIR}/../../graphics/libGL/bsd.mesalib.mk"
.include <bsd.port.pre.mk>
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
.if defined(WITH_NVIDIA_GL)
CFLAGS+= -DWITH_NVIDIA_GL=1