summaryrefslogtreecommitdiff
path: root/driver/xf86-video-intel
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-02-02 17:19:58 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-02-02 17:19:58 +0000
commitcd5c913ae361a188d050a71f171f0bf1bbb217b5 (patch)
tree4bec3333ce143cf5ed7a849b9c0f7dd975f2acf0 /driver/xf86-video-intel
parent5e93d5517d4a068d98160c92f35a8b12bce77e3c (diff)
Make it possible to build dri support with XENOCARA_BUILD_DRI=yes in
/etc/mk.conf. ok oga@
Diffstat (limited to 'driver/xf86-video-intel')
-rw-r--r--driver/xf86-video-intel/Makefile.bsd-wrapper8
1 files changed, 6 insertions, 2 deletions
diff --git a/driver/xf86-video-intel/Makefile.bsd-wrapper b/driver/xf86-video-intel/Makefile.bsd-wrapper
index 55865b108..08823262d 100644
--- a/driver/xf86-video-intel/Makefile.bsd-wrapper
+++ b/driver/xf86-video-intel/Makefile.bsd-wrapper
@@ -1,5 +1,9 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.3 2007/11/25 18:44:17 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2008/02/02 17:19:57 matthieu Exp $
-CONFIGURE_ARGS += --disable-dri
+.include <bsd.own.mk>
+
+.if !defined(XENOCARA_BUILD_DRI) || ${XENOCARA_BUILD_DRI:L} != "yes"
+CONFIGURE_ARGS+= --disable-dri
+.endif
.include <bsd.xorg.mk>