diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2012-06-04 10:18:46 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2012-06-04 10:18:46 +0000 |
commit | 17572c09e68664a601d7f67698fecd7ae57a78ce (patch) | |
tree | 6650c276cd201f9f4b995e4ca184240728025e54 /lib/libGL | |
parent | ef540cc300e67962a0a5929a4ebefed145ded19e (diff) |
Fix build with XENOCARA_BUILD_DRI=No
ok matthieu@
Diffstat (limited to 'lib/libGL')
-rw-r--r-- | lib/libGL/Makefile | 7 |
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 |