Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 1998 15:34:12 +0000
From:      Peter Haight <peterh@sapros.com>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Creating packages when you are not root.
Message-ID:  <199809281534.PAA01762@wartch.sapros.com>

next in thread | raw e-mail | index | archive | help

I have a port I'm working on that is automatically generated by my build
system. The build system also makes the port into a package. The problem is
that the build system doesn't run at root and I want the default prefix for
the package to be /usr/local.

Basically, the build system runs 'make PREFIX=/tmp package'. The problem is
that when you do a 'pkg_add package.tgz' it tries to install it into /tmp by
default. It works ok if you do a 'pkg_add -p /usr/local package.tgz', but I
would like /usr/local to be the default.

I have come up with some annoying ways to deal with this, but I'd like to
know if there is an easy switch or variable I can use to get this behavior.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809281534.PAA01762>