Subject: Re: both pth and pth-syscall?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Nick Hudson <skrll@netbsd.org>
List: tech-pkg
Date: 05/31/2002 08:34:54
On Friday 31 May 2002 7:50 am, Jeremy C. Reed wrote:
> I have pth-1.4.1 installed and it is needed by over twenty other packages
> that I use.
> 
> I tried to install qt3 (so I can build scribus package), but received:
> 
> ===> pth-syscall-1.4.1 conflicts with installed package(s): pth-1.4.1
> found.
> *** They install the same files into the same place.
> 
> I see that qt3-libs says:
> USE_PTHREAD=  native pth-syscall
> 
> Any suggestions on how to get qt3 to install while still having pth?

To do this you could add pth to the USE_PTHREAD line in qt3

> Or can I use pth-syscall instead of pth?

yep, but it is not guaranteed to work. It was reported not to work in the past 
for some pkgs - I haven't been able to test them all hence the separate pkg.

> (And if so, do I have to rebuild all the packages that depend on pth?)
>
> Or maybe ... can someone explain how to use mk/pthread.buildlink.mk so I
> can continue to use the other needed packages?

There is some text in mk/pthread.buildlink.mk that should help.

Nick