Subject: pkg/30937: ...pkgsrc/graphics/gle has bogus GLUT dependency.
To: None <firstname.lastname@example.org, email@example.com,>
From: None <firstname.lastname@example.org>
Date: 08/07/2005 21:15:00
>Synopsis: ...pkgsrc/graphics/gle has bogus GLUT dependency.
>Arrival-Date: Sun Aug 07 21:15:00 +0000 2005
>Originator: Richard Rauch
NetBSD socrates 3.99.3 NetBSD 3.99.3 (socrates) #0: Fri Apr 8 16:13:11 CDT 2005 root@socrates:/usr/kernobj/usr/netbsd/current/src/sys/arch/amd64/compile/socrates amd64
...pkgsrc/graphics/gle formally requires GLUT in pkgsrc to build.
but a little use of grep (look exclusively for "glut" or "GLUT";
don't get thrown by "gluT" or "GLUt") are in the ./configure script
and in the examples/ directory.
As the examples are not built, I think, for pkgsrc, perhaps this
dependency should be broken in pkgsrc? You'd have to patch the
configure script, of course... But it seems silly to have pkgsrc
require the GLUT to be installed for another library that will
*never* actualy use GLUT.
(Whether the authors of gle want to make this change, I don't know.
They'd probably have to add a new ./configure script in the examples
pkg_info >/dev/eyeballs # Or substitute other translation device
grep -ir glut . | grep -v gluT | grep -v examples | grep -v GLUt
It looks pretty trivial: Twiddle the Makefile first; it depends upon
"Mesa" which is what is forcing the GLUT dependency. (I forget
the preferred solution; I filed some PRs earlier about a couple of
other packages with similar dependency issues.)
Supply a patch for ./configure to skip checking for GLUT's
I don't think that pkgsrc installs any of the gle HTML documentation,
so the other refernces to GLUT can probably be left alone.