Subject: pkg/30850: Unneeded dependencies on MesaLib (which causes problems)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jonathan Schleifer <js@h3c.de>
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
>Organization:
	
>Environment:
	
	
System: NetBSD jonathan2.localnet.localdomain 3.99.7 NetBSD 3.99.7
(GENERIC_ACPI) #0: Sat Jul 23 15:13:59 CEST 2005
js@jonathan2.localnet.localdomain:/usr/obj/sys/arch/i386/compile/GENERI
C_ACPI i386
Architecture: i386
Machine: i386
>Description:
	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.

	See
http://marc.theaimsgroup.com/?l=netbsd-tech-pkg&m=112222236801310&w=2
>How-To-Repeat:
	Just build and ldd a program that uses OpenGL.
>Fix:
	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:
	Fix:
http://marc.theaimsgroup.com/?l=netbsd-tech-pkg&m=112240546824904&w=2

>Unformatted: