pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc bootstraps on HP WEBOS!




To: Thomas Klausner <wiz%NetBSD.org@localhost>, pkgsrc-users%netbsd.org@localhost

Subject: Re: pkgsrc bootstraps on HP WEBOS!

From: John Maier <jmaier%happymolars.com@localhost>

Date: Wed, 28 Mar 2012 11:59:03 -0500


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 co
nfigured 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



Follow-Ups:

Re: pkgsrc bootstraps on HP WEBOS!
From: John Maier


References:

pkgsrc bootstraps on HP WEBOS!
From: John Maier

Re: pkgsrc bootstraps on HP WEBOS!
From: Thomas Klausner




Prev by Date: Re: pkgsrc bootstraps on HP WEBOS!

Next by Date: Re: pkgsrc bootstraps on HP WEBOS!

Previous by Thread: Re: pkgsrc bootstraps on HP WEBOS!

Next by Thread: Re: pkgsrc bootstraps on HP WEBOS!

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index