Subject: Re: pth dependancy
To: None <john@johnrshannon.com>
From: Johnny C. Lam <jlam@NetBSD.org>
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 buildlink3.mk 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 buildlink3.mk 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.

	Cheers,

	-- Johnny Lam <jlam@NetBSD.org>