summaryrefslogtreecommitdiff
path: root/driver/xf86-video-i810/Makefile.bsd-wrapper
diff options
context:
space:
mode:
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>