Subject: Re: package db on MacOS 10.3
To: Jeff Rizzo <riz@tastylime.net>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 02/10/2005 17:51:44
--Signature=_Thu__10_Feb_2005_17_51_44_+0100_x4pHpH/rg61a_Hib
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Thu, 10 Feb 2005 08:48:10 -0800
Jeff Rizzo <riz@tastylime.net> wrote:

> I wanted to play with some newer packages on my powerbook, so I set up a 
> second pkgsrc tree with sources about 6 months more recent than my 
> previous one (current as of yesterday), and did a fresh bootstrap and 
> everything, then started building packages with 'make package'.  Much to 
> my surprise, after a successful build, pkg_info wasn't showing the newly 
> compiled packages as installed!  I was able to succesfully pkg_add them, 
> though.
> 
> A little more investigation showed that when doing the 'make package', 
> the registration info is put in /var/db, while pkg_info and pkg_add put 
> things in the --pkgdbdir I configured at bootstrap.
> 
> Am I forgetting to do something here?  This seems like a problematic 
> situation... things should be consistent.  Suggestions?

What's the value of PKG_DBDIR? (try it in a pkg directory with make -V).

Do you have this specified in mk.conf?

--Signature=_Thu__10_Feb_2005_17_51_44_+0100_x4pHpH/rg61a_Hib
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iD8DBQFCC5EgypkLYVDran0RAkMvAKCF+UryhwcGwokyRjatY6RovO2n1ACeO8eL
tffYUfWklUp73s3V6jHlycY=
=Q13V
-----END PGP SIGNATURE-----

--Signature=_Thu__10_Feb_2005_17_51_44_+0100_x4pHpH/rg61a_Hib--