I've configured the environmental variables:
PKG_DBDIR=/media/internal/pkg/var/db/pkg
MAKECONF=/media/internal/pkg/etc/mk.conf
MAKESYSPATH=/media/internal/pkg/share/mk
LOCALBASE=/media/internal/pkg
MANPATH=/media/internal/pkg/man
Then in $LOCALBASE/etc/mk.conf I've defined:
FETCH_USING= fetch
PKG_DBDIR= /media/internal/pkg/var/db/pkg
LOCALBASE= /media/internal/pkg
VARBASE= /media/internal/pkg/var
PKG_TOOLS_BIN= /media/internal/pkg/sbin
PKGMANDIR= /media/internal/pkg/man
Should I define PREFIX=$LOCALBASE ?
As for the $DESTDIR, I've not configured it, and the fetched files
are being stored in ./pkgsrc/distfiles as expected.
- jam
On 3/28/2012 8:56 AM, Thomas Klausner wrote:
On Wed, Mar 28, 2012 at 08:23:20AM -0500, John Maier wrote:
/usr/bin/install -c -o root -g root -m 644 digest.1
/mnt/webos/pkgsrc/pkgtools/digest/work/.destdir/media/internal/pkg//media/internal/pkg/man/man1/digest.1
You have "/media/internal/pkg" in this path twice.
What did you set PREFIX to? Did you modify DESTDIR?
Also, I noticed that all pkg builds are creating binary packages.
When did this become default behavior?
A few months ago when pkgsrc switched to DESTDIR-installation by
default.
Thomas