summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-07-12 12:54:03 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-07-12 12:54:03 +0000
commit2957e1c8ecc0915e6d24ff157b417f6a05b6bcb6 (patch)
treeac9476aed639b47d5709168efef8e7ab0dc041ab
parentffc51e457f8c809c85cc5e5cc70b6bb0c4b75def (diff)
Add a Makefile.bsd-wrapper.
-rw-r--r--driver/xf86-video-openchrome/Makefile.bsd-wrapper9
1 files changed, 9 insertions, 0 deletions
diff --git a/driver/xf86-video-openchrome/Makefile.bsd-wrapper b/driver/xf86-video-openchrome/Makefile.bsd-wrapper
new file mode 100644
index 000000000..018d3aa8e
--- /dev/null
+++ b/driver/xf86-video-openchrome/Makefile.bsd-wrapper
@@ -0,0 +1,9 @@
+# $OpenBSD: Makefile.bsd-wrapper,v 1.1 2008/07/12 12:54:02 matthieu Exp $
+
+.include <bsd.xconf.mk>
+
+.if ${XENOCARA_BUILD_DRI:L} != "yes"
+CONFIGURE_ARGS+= --disable-dri
+.endif
+
+.include <bsd.xorg.mk>