summaryrefslogtreecommitdiff
path: root/driver/xf86-video-sis/Makefile.bsd-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-sis/Makefile.bsd-wrapper')
-rw-r--r--driver/xf86-video-sis/Makefile.bsd-wrapper8
1 files changed, 7 insertions, 1 deletions
diff --git a/driver/xf86-video-sis/Makefile.bsd-wrapper b/driver/xf86-video-sis/Makefile.bsd-wrapper
index cd59c5869..c685b99c9 100644
--- a/driver/xf86-video-sis/Makefile.bsd-wrapper
+++ b/driver/xf86-video-sis/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>