aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mesa-demos
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2010-03-12 16:24:17 +0800
committernork <nork@FreeBSD.org>2010-03-12 16:24:17 +0800
commitf50f3c0cf6802b490d25f9ddf2598cdcd574699a (patch)
tree7c01bfbbe7f1c2ba0194adc0c5184136afd2e4d6 /graphics/mesa-demos
parentb31e98ea4b3f591c1cefbf0fb0f861b6ed7fd4a1 (diff)
downloadfreebsd-ports-gnome-f50f3c0cf6802b490d25f9ddf2598cdcd574699a.tar.gz
freebsd-ports-gnome-f50f3c0cf6802b490d25f9ddf2598cdcd574699a.tar.zst
freebsd-ports-gnome-f50f3c0cf6802b490d25f9ddf2598cdcd574699a.zip
Fix buid error.
PR: ports/140792 Submitted by: lioux Approved by: araujo Committed at: AsiaZBSDCon 2010 DevSummit at Kagurazaka, Tokyo, Japan
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