Fix build with XENOCARA_BUILD_DRI=No
ok matthieu@
This commit is contained in:
parent
8fff4ad320
commit
d89f95e29c
@ -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>
|
.include <bsd.xconf.mk>
|
||||||
|
|
||||||
.if ${XENOCARA_BUILD_DRI:L} == "yes"
|
.if ${XENOCARA_BUILD_DRI:L} == "yes"
|
||||||
@ -47,10 +47,11 @@ CPPFLAGS+= \
|
|||||||
-DGLX_INDIRECT_RENDERING \
|
-DGLX_INDIRECT_RENDERING \
|
||||||
-DPTHREADS \
|
-DPTHREADS \
|
||||||
-DHAVE_ALIAS \
|
-DHAVE_ALIAS \
|
||||||
-D_REENTRANT
|
-D_REENTRANT \
|
||||||
|
-DMAPI_GLAPI_CURRENT
|
||||||
|
|
||||||
.if ${XENOCARA_BUILD_DRI:L} == "yes"
|
.if ${XENOCARA_BUILD_DRI:L} == "yes"
|
||||||
CPPFLAGS+= -DMAPI_GLAPI_CURRENT \
|
CPPFLAGS+= \
|
||||||
-DGLX_DIRECT_RENDERING -DXF86VIDMODE \
|
-DGLX_DIRECT_RENDERING -DXF86VIDMODE \
|
||||||
-DDEFAULT_DRIVER_DIR=\"${DRI_DRIVER_INSTALL_DIR}\"
|
-DDEFAULT_DRIVER_DIR=\"${DRI_DRIVER_INSTALL_DIR}\"
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user