pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Build dri by default on i386/amd64 Ne...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05a9201a9bfd
branches:  trunk
changeset: 541793:05a9201a9bfd
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Fri Apr 25 20:33:08 2008 +0000

description:
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:

 graphics/MesaLib/options.mk |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r ce80c3e050f5 -r 05a9201a9bfd graphics/MesaLib/options.mk
--- a/graphics/MesaLib/options.mk       Fri Apr 25 20:31:10 2008 +0000
+++ b/graphics/MesaLib/options.mk       Fri Apr 25 20:33:08 2008 +0000
@@ -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 @@
     (${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"
 ###



Home | Main Index | Thread Index | Old Index