NetBSD Problem Report #30937

From  Sun Aug  7 21:14:51 2005
Return-Path: <>
Received: by (Postfix, from userid 31301)
	id 4731063B104; Sun,  7 Aug 2005 21:14:51 +0000 (UTC)
Message-Id: <>
Date: Sun,  7 Aug 2005 21:14:51 +0000 (UTC)
Subject: ...pkgsrc/graphics/gle has bogus GLUT dependency.
X-Send-Pr-Version: www-1.0

>Number:         30937
>Category:       pkg
>Synopsis:       ...pkgsrc/graphics/gle has bogus GLUT dependency.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>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
>Release:        3.99.3
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

cd ...pkgsrc/garphics/gle
make clean
make install
pkg_info >/dev/eyeballs # Or substitute other translation device
cd work/*
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" <>
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

 Modified Files:
 	pkgsrc/graphics/gle: Makefile distinfo
 Added Files:
 	pkgsrc/graphics/gle/patches: patch-configure

 Log Message:
 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.

 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-From-To: open->closed
State-Changed-When: Sun, 14 Apr 2013 00:53:16 +0000


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.