Subject: Re: pkg/28510
To: None <,,>
From: Robert Elz <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 03/28/2005 03:34:01
The following reply was made to PR pkg/28510; it has been noted by GNATS.

From: Robert Elz <kre@munnari.OZ.AU>
Subject: Re: pkg/28510 
Date: Mon, 28 Mar 2005 10:33:26 +0700

 This is really not needed.   The easy, trivial, transparent,
 and clean, way to handle this is to union mount the two
 app-defaults directories together, so that both appear under X11BASE
 where the X libraries expect to find them, but so pkgsrc installed
 applications can put the things under LOCALBASE
 where they're supposed to.
 In my /etc/fstab I have ...
 /usr/pkg/lib/X11/app-defaults /usr/X11R6/lib/X11/app-defaults union rw,hidden
 and it all just works like a dream.   The "hidden" prevents (normal) df
 from showing this mount as if it were a filesystem.
 It may also work using a -o union mount, I never bothered to try that
 one, the mount_union variant is just fine for me.
 Adding more baroque env vars into X is just what it doesn't need (and in
 any case, any of that requires every user to go set the thing).   Doing
 it as suggested in the original PR, and simply having the X build know
 where LOCALBASE simply always lives, is way against the normal pkgsrc & NetBSD