Subject: pkg/29779: ...pkgsrc/games/bzflag has extraneous(?) dependency on GLUT
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 03/23/2005 23:24:00
>Number:         29779
>Category:       pkg
>Synopsis:       ...pkgsrc/games/bzflag has extraneous(?) dependency on GLUT
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 23 23:24:00 +0000 2005
>Originator:     Richard Rauch
>Release:        NetBSD -current from Sept. 25 userland; for kernel, see below.
NetBSD socrates 3.99.1 NetBSD 3.99.1 (socrates) #0: Mon Mar 21 01:03:37 CST 2005  root@socrates:/usr/kernobj/usr/netbsd/current/src/sys/arch/amd64/compile/socrates amd64

The pkgsrc game "bzflag" seems to have a bogus dependency on GLUT.

Doing a "make extract" on bzflag and "grep -ir glut *" in the work
directory shows only one match: "package/mac/bzflag.mcp".  This appears
to be some kind of project file (for "CodeWarrior").  The sources,
themselves, show now GLUT dependency.

All GLUT symbols---functions and symbolic constants---contain either
"glut" or "GLUT" in their names, so the absence of any direct reference
to GLUT outside of a CodeWarrior project file suggests that the
bzflag pkg can drop its GLUT dependency.

The extraneous dependency, of course, means that if GLUT needs to be
updated for any reason, any installation of bzflag will be replaced,
even though there is no real direct relation.
cd ...pkgsrc/games/bzflag
make extract
grep -ir glut *
make install
pkg_info bzflag | grep -i glut
Dunno.  I can't see any direct dependency on GLUT described in the
bzflag directory.  I thought that transitive dependencies were not
supposed to be used in pkgsrc, anymore.