summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2012-06-04 10:18:46 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2012-06-04 10:18:46 +0000
commit17572c09e68664a601d7f67698fecd7ae57a78ce (patch)
tree6650c276cd201f9f4b995e4ca184240728025e54
parentef540cc300e67962a0a5929a4ebefed145ded19e (diff)
Fix build with XENOCARA_BUILD_DRI=No
ok matthieu@
-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