Subject: pkg/30537: graphics/MesaLib pthread usage
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 06/16/2005 09:58:00
>Number:         30537
>Category:       pkg
>Synopsis:       graphics/MesaLib pthread usage
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 16 09:58:00 +0000 2005
>Originator:     Krister Walfridsson
>Release:        pkgsrc as of Jun 16 2005
System: NetBSD 1.6.2_STABLE NetBSD 1.6.2_STABLE (tmp) #0: Thu Apr 15 06:12:56 UTC 2004 i386
Architecture: i386
Machine: i386
The graphics/MesaLib does not have any dependencies on pthreads, but
the linking of does add -lpthread.  This makes libtool
add --lpthread in .la file, with the result that all packages
linking to need to add an explicit dependency on pthread,
even if they don't use threads.

I think the -lpthread should be removed -- no pthreads .h files
are available during the build, so the package cannot be using
any thread functionality?  Otherwise a proper pthread dependency
should be added to the package (and its