Subject: building package tarball without installing
To: None <>
From: Mirian Crzig Lennox <>
List: tech-pkg
Date: 03/14/2000 13:16:34
Apologies for the repost, but I just realized that I mistakenly
originally sent this to tech-kern, not tech-pkg:

Is it possible to build a binary package tarball without actually
installing it?

Since 'make package' implies 'make install', I figured that maybe I
could do something like
        make DESTDIR=/usr/local/tmp

Unfortunately, this results in a package that wants to install
under /usr/local/tmp/usr/pkg instead of /usr/pkg.  This can be
circumvented with the -p option to pkg_add, but yuck.