summaryrefslogtreecommitdiff
path: root/driver/xf86-video-i810/Makefile.bsd-wrapper
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-i810/Makefile.bsd-wrapper
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-i810/Makefile.bsd-wrapper')
-rw-r--r--driver/xf86-video-i810/Makefile.bsd-wrapper8
1 files changed, 7 insertions, 1 deletions
diff --git a/driver/xf86-video-i810/Makefile.bsd-wrapper b/driver/xf86-video-i810/Makefile.bsd-wrapper
index ce45426e7..9a758047c 100644
--- a/driver/xf86-video-i810/Makefile.bsd-wrapper
+++ b/driver/xf86-video-i810/Makefile.bsd-wrapper
@@ -1,3 +1,9 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.1 2007/04/04 20:17:39 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.2 2008/02/02 17:19:57 matthieu Exp $
+
+.include <bsd.own.mk>
+
+.if !defined(XENOCARA_BUILD_DRI) || ${XENOCARA_BUILD_DRI:L} != "yes"
+CONFIGURE_ARGS+= --disable-dri
+.endif
.include <bsd.xorg.mk>