summaryrefslogtreecommitdiff
path: root/share/mk/bsd.xconf.mk
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-11-02 15:20:27 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-11-02 15:20:27 +0000
commit33b2029f322f3c238b7ba528083195ad8dde33e1 (patch)
tree5d200f517f0b8d40a0e79b8c5b5ae5b49838b881 /share/mk/bsd.xconf.mk
parent44c7c24a706f2166bbfab6fedc4267f1231dddca (diff)
With xserver 1.5 and Mesa 7.2 DRI is needed by libGL, even without
hardware acceleration.
Diffstat (limited to 'share/mk/bsd.xconf.mk')
-rw-r--r--share/mk/bsd.xconf.mk13
1 files changed, 4 insertions, 9 deletions
diff --git a/share/mk/bsd.xconf.mk b/share/mk/bsd.xconf.mk
index fc89fda42..ccb360774 100644
--- a/share/mk/bsd.xconf.mk
+++ b/share/mk/bsd.xconf.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.xconf.mk,v 1.7 2008/10/08 02:24:28 todd Exp $
+# $OpenBSD: bsd.xconf.mk,v 1.8 2008/11/02 15:20:26 matthieu Exp $
# Shared libs?
.if ${MACHINE} == "mvme88k" || ${MACHINE} == "vax"
@@ -7,16 +7,11 @@ XENOCARA_HAVE_SHARED_LIBS?=no
XENOCARA_HAVE_SHARED_LIBS?=yes
.endif
-# Build DRI?
-.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
-XENOCARA_BUILD_DRI?=yes
-.else
-XENOCARA_BUILD_DRI?=no
-.endif
-
# Build GL libs and apps
-.if ${MACHINE_ARCH} == "m88k" || ${MACHINE} == "vax"
+.if ${MACHINE_ARCH} == "m88k" || ${MACHINE} == vax
XENOCARA_BUILD_GL?=no
+XENOCARA_BUILD_DRI?=no
.else
XENOCARA_BUILD_GL?=yes
+XENOCARA_BUILD_DRI?=yes
.endif