On Thu, 16 Jun 2005, Johnny C. Lam wrote:
If we want to add the proper pthread dependency to MesaLib, the attached patch is the way to do it. I'm in favor of going this way so that the pkgsrc MesaLib is thread-safe. This will cause packages that include MesaLib/buildlink3.mk to indirectly pull in pthread.buildlink3.mk so that -lpthread will resolve correctly. However, this needs testing on a NetBSD-1.6.2 system to see if it builds correcty using GNU pth.
I have tested it on NetBSD 1.6, and it builds and works fine. /Krister