Subject: Re: POSIX threads & NetBSD 1.6?
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Brad Knowles <brad.knowles@skynet.be>
List: port-sparc
Date: 10/15/2002 22:51:59
At 3:36 AM +0200 2002/10/15, Lubomir Sedlacik wrote:
> well, in NetBSD /usr/pkg is The Right(tm) place where they should
> reside. all packages from pkgsrc (including binary packages) are
> installed into this directory and correct runtime dependencies (such as
> library handling) are configured at their build time.
Okay, fair enough. What about programs from other people that
may be dependant on things that have installed themselves in
/usr/pkg? Does the C compiler automatically stick /usr/pkg/include
into the path of directories to be searched for header files? Does
the linker automatically stick /usr/pkg/lib into the path of
directories to be searched for libraries?
If so, then my problem should automatically be solved. If not,
then there is a problem -- /usr/pkg may be the Right Place(tm) for
this stuff to go, but no one else in the world (who is not a native
NetBSD developer) will ever know about it.
> if you really want to put them in /usr/local you may want to set
> LOCALBASE=/usr/local in your /etc/mk.conf. also read
> pkgsrc/Packages.txt and packages(7) for more information about NetBSD
> packaging system.
I may give that a try. Thanks!
--
Brad Knowles, <brad.knowles@skynet.be>
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
GCS/IT d+(-) s:+(++)>: a C++(+++)$ UMBSHI++++$ P+>++ L+ !E W+++(--) N+ !w---
O- M++ V PS++(+++) PE- Y+(++) PGP>+++ t+(+++) 5++(+++) X++(+++) R+(+++)
tv+(+++) b+(++++) DI+(++++) D+(++) G+(++++) e++>++++ h--- r---(+++)* z(+++)