Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 2000 11:53:59 -0800
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Mike Meyer <mwm@mired.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: /usr/local misuse (Was: Confusing error messages from shell image activation)
Message-ID:  <20001210115359.I80274@dragon.nuxi.com>
In-Reply-To: <14898.64303.432525.619458@guru.mired.org>; from mwm@mired.org on Sat, Dec 09, 2000 at 09:40:31PM -0600
References:  <14898.33404.356173.963351@guru.mired.org> <75248.976389688@verdi.nethelp.no> <20001209142430.B671@puck.firepipe.net> <14898.36663.855320.410475@guru.mired.org> <20001209192646.B32252@dragon.nuxi.com> <14898.64303.432525.619458@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 09, 2000 at 09:40:31PM -0600, Mike Meyer wrote:
> > I always thought ``make PREFIX=/tmp/foo package'' is pretty obvious.. but
... 
> What does the above command do if the port isn't PREFIX clean?

Installs the ports's bits into [most likely] /usr/local, cause an error
while trying to build the package, and create a situation where
`pkg_delete' could not be used to delete the installed bits.

> My personal test is "make PREFIX=/tmp/foo install && make
> deinstall". If something in the plist is installed outside of
> /tmp/foo, the deinstall will complain when it can't find it.

Just a different flavor of catching the errors.  "make PREFIX=/tmp/foo
package" will also complain if it cannot find the binaries to tar up in
PREFIX.

-- 
-- David  (obrien@FreeBSD.org)
          GNU is Not Unix / Linux Is Not UniX


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




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