summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-04-25 20:33:08 +0000
committerbjs <bjs@pkgsrc.org>2008-04-25 20:33:08 +0000
commit2ca9ca8b332b13e6b820f97ee647b6aacc9df8c2 (patch)
treed0f7e7f20446ac67dbcc8b134e49f91c57f09c1d
parentd1290294c8675cad5553680eae1fb7c8ecb91de6 (diff)
downloadpkgsrc-2ca9ca8b332b13e6b820f97ee647b6aacc9df8c2.tar.gz
Build dri by default on i386/amd64 NetBSD >=4.0. It is important we see
what kind of lossage occurs before the next release branch, and this is the best way to do it. NOTE: The X server should probably be upgraded to the 1.4 branch now, as the current (1.3.0.0) server uses Mesa 6.5.3 (a development release whose time has long since passed).
-rw-r--r--graphics/MesaLib/options.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk
index 791d85c6795..d53ebfbecdd 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2008/04/24 07:40:24 bjs Exp $
+# $NetBSD: options.mk,v 1.2 2008/04/25 20:33:08 bjs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
PKG_SUPPORTED_OPTIONS= mesa-execmem-mmap
@@ -48,6 +48,16 @@ PKG_SUGGESTED_OPTIONS= mesa-execmem-mmap
(${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD")
PKG_SUPPORTED_OPTIONS+= dri
.endif
+###
+### XXX OpenGL still works fine with the software fallback. As of now,
+### I think this is a good way to see which bugs surface before the
+### next release branch. Upgrading the X server to the 1.4 branch
+### is advised given that it's glx/glcore modules are built from
+### Mesa 6.5.3 (a development release).
+###
+.if !empty(MACHINE_PLATFORM:MNetBSD-[4-9]*-[ix]86*)
+PKG_SUGGESTED_OPTIONS+= dri
+.endif
.include "../../mk/bsd.options.mk"
###