NetBSD Problem Report #30937
From firstname.lastname@example.org Sun Aug 7 21:14:51 2005
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 4731063B104; Sun, 7 Aug 2005 21:14:51 +0000 (UTC)
Date: Sun, 7 Aug 2005 21:14:51 +0000 (UTC)
Subject: ...pkgsrc/graphics/gle has bogus GLUT dependency.
>Synopsis: ...pkgsrc/graphics/gle has bogus GLUT dependency.
>Arrival-Date: Sun Aug 07 21:15:00 +0000 2005
>Closed-Date: Sun Apr 14 00:53:16 +0000 2013
>Last-Modified: Sun Apr 14 00:53:16 +0000 2013
>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.
From: "David A. Holland" <email@example.com>
Subject: PR/30937 CVS commit: pkgsrc/graphics/gle
Date: Sat, 13 Apr 2013 20:22:26 +0000
Module Name: pkgsrc
Committed By: dholland
Date: Sat Apr 13 20:22:26 UTC 2013
pkgsrc/graphics/gle: Makefile distinfo
Fix up depends as per PR 30937; in particular, drop glut as it's used
only by the examples and we don't build or install them.
PKGREVISION -> 3.
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/graphics/gle/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/gle/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/gle/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-When: Sun, 14 Apr 2013 00:53:16 +0000
$NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.