From owner-freebsd-stable Mon Oct 16 1: 7:35 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mailhost.esil.univ-mrs.fr (jiyu.esil.univ-mrs.fr [139.124.44.249]) by hub.freebsd.org (Postfix) with ESMTP id BC8E937B503 for ; Mon, 16 Oct 2000 01:07:30 -0700 (PDT) Received: from bsdfr.org (cam.esil.univ-mrs.fr [139.124.44.65]) by mailhost.esil.univ-mrs.fr (8.9.3/ESIL/jtpda-5.3.1) with ESMTP id KAA41469 ; Mon, 16 Oct 2000 10:07:17 +0200 (CEST) Message-ID: <39EAB6FD.DF8BAA12@bsdfr.org> Date: Mon, 16 Oct 2000 10:06:22 +0200 From: cam X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.17 i686) X-Accept-Language: fr, en MIME-Version: 1.0 To: Stephen Montgomery-Smith Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Upgrading ports References: <39EA1F88.88E0B340@math.missouri.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Stephen Montgomery-Smith wrote: > While we are on the subject, what exactly is the difference between > make install and make reinstall? see /usr/ports/Mk/port.bsd.mk (l. 303) : # install - Install the results of a build. # reinstall - Install the results of a build, ignoring "already installed" # flag. # deinstall - Remove the installation. > > "H. Wade Minter" wrote: > > > > This is probably a braindead question, but what is the accepted way to > > upgrade a port? I tried a "make reinstall", but ended up with both the > > old and new versions of the ports listed in "pkg_info". > > > > --Wade > > before doing 'make reinstall' you have to do a 'pkg_delete' of the port, or use the script given by 'pkg_version -c' ex: # pkg_version -c > UpdateMyPorts.sh # vi UpdateMyPorts.sh (for tuning) # sh UpdateMyPorts.sh cam. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message