Subject: Re: pth dependancy
To: None <>
From: Johnny C. Lam <>
List: tech-pkg
Date: 12/23/2004 09:20:20
John R. Shannon wrote:
> Is there a standard way for packaging software that depends on pth?
> Adding a pth dependency to the Makefile allows the dependant 
> package to work, but, pth installs a pthreads compatibility header that 
> affects the compilation of every package wanting POSIX threads.

Including the pth file in the package Makefile is the 
right way to do it.  buildlink3 should be able to hide the presence of 
GNU pth from packages that are using native threads on a platform that 
supports it, e.g. NetBSD 2.0.  If this is not happening, please file a 
bug report so that we can fix this.


	-- Johnny Lam <>