Subject: Re: /etc/mk.conf problems
To: Richard Rauch <rauch@rice.edu>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 12/14/2001 00:20:19
--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 13, 2001 at 05:11:02PM -0600, Richard Rauch wrote:
> > Yeah, but I'm always deleting pkgsrc and hosing it
> > around anyway. I would end up deleting this setup all
> > the time. I kind of think it should be in /usr/pkg/etc
> > though...
>=20
> Good point...  Still, since make uses /etc/mk.conf, you could contnue to
> stuff the variables in there if you wanted.  It just seems to me that an
> /etc file is not really the best place for pkgsrc configuration.
> (Especially since most packages get _their_ configuration/etc. isolated
> into /usr/pkg/ by the pkgsrc system.)
>=20
> Perhaps there is a good, technical reaso for using /etc/mk.conf as the
> pkgsrc configuration.  If there is, I'm missing it.

there is a reason. imagine that you are mounting /usr from the network--you
want to have configuration based per host (eg. you are compiling from one
pkgsrc tree on various hosts and installing packages with /usr/local $PREFI=
X)
this is the similar reason why there are introduced variables $PKG_SYSCONFB=
ASE
and $PKG_SYSCONFSUBDIR in the pkgsrc.

regards,

--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: DBEC 8BEC 9A90 ECEC 0FEF  716E 59CE B70B 7E3B 70E2     =
 --

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8GTezWc63C347cOIRAkvCAKCHFkOjd/e6gUW/i+ZNMkWYm/QV7QCff+GR
EszXcg/sppYhTo86TFhQ/3c=
=SzmF
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--