Subject: DESTDIR and pkgsrc (was Re: Problems with pkg db under 1.6.2_STABLE?)
To: None <tech-pkg@NetBSD.org>
From: Christopher W. Richardson <email@example.com>
Date: 06/10/2004 13:49:38
-----BEGIN PGP SIGNED MESSAGE-----
"Jeremy C. Reed" <firstname.lastname@example.org> writes:
> Maybe try adding PKG_DEBUG_LEVEL=2 to your make and see what
> "Registering installation for" is really doing.
OK, that let me sort things out. The short answer seems to be
that it's registering in /usr/build/var/db/pkg instead of in
/var/db/pkg. As seen in previous posts, I don't have PKG_DBDIR
set to anything either in the environment of in /etc/mk.conf.
DESTDIR is set to /usr/build in /etc/mk.conf, but I don't recall
changing this recently (removing that line from /etc/mk.conf
Regardless, it seems odd that having DESTDIR set effectively sets
PKG_DBDIR, but the actually binaries are installed in default
LOCALBASE, doesn't it?
Is this a bug? Or perhaps just a documentation issue? (Or
perhaps I've just failed to find the appropriate, but existing,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>
-----END PGP SIGNATURE-----