summaryrefslogtreecommitdiff
path: root/driver/xf86-video-glint
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-glint
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-glint')
-rw-r--r--driver/xf86-video-glint/Makefile.bsd-wrapper8
1 files changed, 7 insertions, 1 deletions
diff --git a/driver/xf86-video-glint/Makefile.bsd-wrapper b/driver/xf86-video-glint/Makefile.bsd-wrapper
index cd59c5869..c685b99c9 100644
--- a/driver/xf86-video-glint/Makefile.bsd-wrapper
+++ b/driver/xf86-video-glint/Makefile.bsd-wrapper
@@ -1,3 +1,9 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.2 2006/11/27 19:30:44 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.3 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>