Subject: Re: Pkgtools with Zoularis/Pkgsrc on Mac OS X was Re: Pkgsrc on Mac OS X
To: Randy Beaudreault <maccult@pacbell.net>
From: grant beattie <grant@netbsd.org>
List: tech-pkg
Date: 11/25/2002 13:26:21
On Sun, Nov 24, 2002 at 06:14:35PM -0800, Randy Beaudreault wrote:

> >/Volumes/NetBSD/pkg.  How do I change the /usr/pkg directory 
> >references to /Volumes/NetBSD/pkg globally so I don't run into this 
> >issue again?
> 
> I found my answer.  It's called setting LOCALBASE=/Volumes/NetBSD/pkg 
> in /etc/mk.conf.
> 
> Now I have a much bigger issue with things now.  I don't have the 
> base package tools that come with NetBSD, pkg_add, pkg_admin, etc. 
> since they didn't get installed with the Darwin bootstrap process. 
> How can I install these on to Mac OS X?

They are installed into ${LOCALBASE}/sbin. From my Solaris 8
bootstrap-pkgsrc system:

# ls /usr/pkg/sbin
mtree       pkg_add     pkg_admin   pkg_create  pkg_delete  pkg_info

grant.