Subject: pkg/30850: Unneeded dependencies on MesaLib (which causes problems)
To: None <,,>
From: Jonathan Schleifer <>
List: pkgsrc-bugs
Date: 07/27/2005 11:46:00
	Note: There was a bad value `' for the field `Confidential'.
	It was set to the default value of `yes'.

>Number:         30850
>Category:       pkg
>Synopsis:       MesaLib is linked, even if a faster X11-libGL exists.
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 27 11:46:00 +0000 2005
>Originator:     Jonathan Schleifer
>Release:        NetBSD 3.99.7
System: NetBSD jonathan2.localnet.localdomain 3.99.7 NetBSD 3.99.7
(GENERIC_ACPI) #0: Sat Jul 23 15:13:59 CEST 2005
C_ACPI i386
Architecture: i386
Machine: i386
	All OpenGL packages depend on MesaLib. This causes the sytem to use
	MesaLib instead of X11's libGL, which is accelerated and much faster.
	This is caused by the searchorder for libraries:
	/usr/pkg/lib is before /usr/X11R6/lib.
	This is correct, but a problem if you want to use X11's libGL.

	Just build and ldd a program that uses OpenGL.
	I built a meta-pkg to select the OpenGL framework that should be used.
	This way, MesaLib isn't even built if you don't need it and the
	framework you want to use is linked into /usr/pkg/lib.

	I already posted this to tech-pkg and I was told to also send a pr: