Bug 147244 - dev-lang/hugs98 uses deprecated opengl-update
Bug#: 147244 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: haskell@gentoo.org Reported By: ticho@gentoo.org
Component: Ebuilds
URL: 
Summary: dev-lang/hugs98 uses deprecated opengl-update
Keywords:  
Status Whiteboard: 
Opened: 2006-09-11 17:29 0000
Description:   Opened: 2006-09-11 17:29 0000
Please "upgrade" to eselect framework here:

Index: hugs98-2005.3-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/hugs98/hugs98-2005.3-r2.ebuild,v
retrieving revision 1.16
diff -u -r1.16 hugs98-2005.3-r2.ebuild
--- hugs98-2005.3-r2.ebuild     4 Sep 2006 06:57:10 -0000       1.16
+++ hugs98-2005.3-r2.ebuild     12 Sep 2006 00:25:21 -0000
@@ -46,7 +46,7 @@
        opengl? ( virtual/opengl virtual/glu virtual/glut )
        openal? ( media-libs/openal )"
 DEPEND="${RDEPEND}
-       opengl? ( x11-base/opengl-update )
+       opengl? ( app-admin/eselect-opengl )
        ~app-text/docbook-sgml-dtd-4.2"

 # the testsuite is not included in the tarball
@@ -92,7 +92,7 @@
        if use opengl; then
                myconf="--enable-opengl"
                # the nvidia drivers *seem* not to work together with pthreads
-               if ! /usr/sbin/opengl-update --get-implementation | grep -q
nvidia; then
+               if [ x`eselect opengl show` != xnvidia ]; then
                        myconf="$myconf --with-pthreads"
                fi
        fi

------- Comment #1 From Andrej Kacian (RETIRED) 2006-09-11 17:35:27 0000 -------
Sorry, wrong category in summary.

------- Comment #2 From Duncan Coutts (RETIRED) 2006-10-03 16:24:07 0000 -------
Done. Thanks for the report.

------- Comment #3 From Duncan Coutts (RETIRED) 2006-10-03 16:43:28 0000 -------
Oops, forgot to close.