From owner-freebsd-ports  Wed May 26 15:13:42 1999
Delivered-To: freebsd-ports@freebsd.org
Received: from voyager.fisicc-ufm.edu (unknown [209.198.197.197])
	by hub.freebsd.org (Postfix) with ESMTP id 96F3514DF7
	for <ports@freebsd.org>; Wed, 26 May 1999 15:12:44 -0700 (PDT)
	(envelope-from obonilla@voyager.fisicc-ufm.edu)
Received: (from obonilla@localhost)
	by voyager.fisicc-ufm.edu (8.9.3/8.9.3) id PAA00775
	for ports@freebsd.org; Wed, 26 May 1999 15:17:08 -0600 (CST)
	(envelope-from obonilla)
Date: Wed, 26 May 1999 15:17:08 -0600
From: Oscar Bonilla <obonilla@fisicc-ufm.edu>
To: ports@freebsd.org
Subject: Right way to upgrade a port
Message-ID: <19990526151708.D344@fisicc-ufm.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

I was just wondering what is the right way to upgrade a port...
say i have foobar-1.2 and the port has been upgraded to foobar-2.0

do I

1. pkg_delete foobar-1.2
   cd /usr/ports/misc/foobar
   make install

2. cd /usr/ports/misc/foobar
   make install

the main difference being deleting the package first and installing then
the new version or just installing the new version on top of the old one?
how do you guys do it and why?

regards,

-Oscar

p.s. wouln't it be cool if you could install on top of the old version
and later remove the new version just to find out that the old version
still works. :)

-- 
For PGP Public Key: finger obonilla@fisicc-ufm.edu


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