summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorbjs <bjs>2008-04-25 20:33:08 +0000
committerbjs <bjs>2008-04-25 20:33:08 +0000
commit1b08350b7a04a7650209f9ed7f81249a5e15ed17 (patch)
treed0f7e7f20446ac67dbcc8b134e49f91c57f09c1d /graphics
parenta64c9d5c7e3b5570fbbb91dc2eaba62d1f4a750d (diff)
downloadpkgsrc-1b08350b7a04a7650209f9ed7f81249a5e15ed17.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).
Diffstat (limited to 'graphics')
-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"
###