ports/147269: PORT graphics/freeglut should statisfie USE_GL=glut

Aldis Berjoza aldis at bsdroot.lv
Tue Jun 1 05:00:13 UTC 2010


>Number:         147269
>Category:       ports
>Synopsis:       PORT graphics/freeglut should statisfie USE_GL=glut
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 01 05:00:12 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Aldis Berjoza
>Release:        FreeBSD-8
>Organization:
>Environment:
FreeBSD killasmurf86.pc 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Sat Feb 20 10:00:40 EET 2010     killasmurf86 at killasmurf86.pc:/usr/obj/usr/src/sys/ANTIGENERIC  i386
>Description:
To use GLUT ports set USE_GL=glut, this make sure graphics/libglut is installed.
graphics/freeglut is an newer alternative to freeglut (check http://freeglut.sourceforge.net/) and it's supposed to be 100% compatible.

It also provides some features, that libglut doesn't.
and finally bough ports install same files (some) [http://www.freebsd.org/cgi/query-pr.cgi?pr=147267]

The problem is that currently USE_GL=glut check only for libglut, and if freeglut is installed, than still port will want to use libglut.

>How-To-Repeat:
uninstall libglut if you have it
install freeglut
install libglut
install nexuix

if http://www.freebsd.org/cgi/query-pr.cgi?pr=147267 isn't fixed by then, libglut will owerwrite some of freegluts files (but that's another story)
>Fix:
modify USE_GL (in /usr/ports/Mk/bsd.port.mk) so that freeglut will satisfy GLUT dependency, if freeglut is installed.
If freeglut is not installed install the default - libglut

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list