pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/28510



The following reply was made to PR pkg/28510; it has been noted by GNATS.

From: "Julio M. Merino Vidal" <jmmv84%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Robert Elz <kre%munnari.OZ.AU@localhost>, jlam%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/28510
Date: Mon, 28 Mar 2005 10:23:39 +0200

 On Mon, 2005-03-28 at 03:34 +0000, Robert Elz wrote:
 >  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
 >  philosophy.
 
 That won't always work.
 
 Suppose a user installs (as many, many people does) NetBSD+X11 from
 binary sets.  This means that, with your "fix", X11 will look inside
 /usr/pkg/whatever for files.
 
 Now, that user installs pkgsrc and sets his LOCALBASE to /opt/pkg.
 And there you go.  The "fix" doesn't work any more and he is forced
 to modify the environment.
 
 Not to mention that, if he has two LOCALBASEs, one in /usr/pkg and one
 somewhere else, X11 will always find, if not told otherwise, the stuff
 in /usr/pkg, thus probably causing confusion to the user.
 
 Another possible solution is to add a default value for the correct
 environment variables in /etc/profile or something like that, so that
 the user can change them at will, if needed.  After all, /etc/man.conf
 already comes with a default path pointing to /usr/pkg...
 
 -- 
 Julio M. Merino Vidal <jmmv84%gmail.com@localhost>
 http://www.livejournal.com/users/jmmv/
 The NetBSD Project - http://www.NetBSD.org/
 



Home | Main Index | Thread Index | Old Index