Subject: Re: Why are packages ever installed to /usr/X11R6?
To: Ron Roskens <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 01/18/2003 14:29:15
On Sat, 18 Jan 2003, Ron Roskens wrote:

> On Sat, 18 Jan 2003, Frederick Bruckman wrote:
> > On Sat, 18 Jan 2003, Ron Roskens wrote:
> >
> > > Since NetBSD could have the app-defaults under both /usr/pkg and
> > > /usr/X11R6, maybe it would be better to modify the NetBSD config file for
> > > X11 to include /usr/pkg/lib/X11/app-defaults/ in the XFILESEARCHPATH? If
> > > you want to modify login.conf it would be better to set
> > > XFILESEARCHPATH since a user could define XUSERFILESEARCHPATH and override
> >
> > Hard-coded paths in X to "/usr/pkg"? That sounds horrible! Why would
> > that be better than setting environment variables?
> If NetBSD decided to install app-defaults files under ${LOCALBASE} instead
> of ${X11BASE}, then IMHO the system should be knowledgable enough to
> include that by default. Why make the end user/admin do extra work to
> support what was decided to be a standard?

So "xpkgwedge" is too difficult to use? Well then, you've neatly
answered the title question, as it's clear that such hard-coded paths
to "/usr/pkg" are not acceptable. Consider, once your patch gets
accepted by XFree86 (as all NetBSD patches eventually are), then
third-party projects will feel obliged to install to "/usr/pkg" on
NetBSD *by* *default*, and "/usr/pkg" will be what "/usr/local" is on
other systems.