summaryrefslogtreecommitdiff
path: root/lib/libGL
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libGL')
-rw-r--r--lib/libGL/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libGL/Makefile b/lib/libGL/Makefile
index b54c0a335..9387986c3 100644
--- a/lib/libGL/Makefile
+++ b/lib/libGL/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.29 2011/10/23 13:57:36 matthieu Exp $
+# $OpenBSD: Makefile,v 1.30 2012/06/04 10:18:45 mpi Exp $
.include <bsd.xconf.mk>
.if ${XENOCARA_BUILD_DRI:L} == "yes"
@@ -47,10 +47,11 @@ CPPFLAGS+= \
-DGLX_INDIRECT_RENDERING \
-DPTHREADS \
-DHAVE_ALIAS \
- -D_REENTRANT
+ -D_REENTRANT \
+ -DMAPI_GLAPI_CURRENT
.if ${XENOCARA_BUILD_DRI:L} == "yes"
-CPPFLAGS+= -DMAPI_GLAPI_CURRENT \
+CPPFLAGS+= \
-DGLX_DIRECT_RENDERING -DXF86VIDMODE \
-DDEFAULT_DRIVER_DIR=\"${DRI_DRIVER_INSTALL_DIR}\"
.endif