From owner-freebsd-questions Fri Jan 26 12: 4:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 6908D37B401 for ; Fri, 26 Jan 2001 12:03:58 -0800 (PST) Received: (qmail 56418 invoked by uid 100); 26 Jan 2001 20:03:58 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14961.55342.33663.357892@guru.mired.org> Date: Fri, 26 Jan 2001 14:03:58 -0600 (CST) To: Edwin Groothuis Cc: questions@freebsd.org, dpoland@execpc.com Subject: Re: Ports and packages In-Reply-To: <102861776@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Edwin Groothuis types: > If you look in the source of the makefiles in the ports-directory > (/usr/ports/Mk/bsd.ports.mk) and search for ^deinstall, you will > see that it does nothing more that calling pkg_delete... Not quite, and that's only the *default* deinstall behavior. The deinstall target also removes the file that the install target creates to not that the installation has been done. If you do "make install; make deinstall; make install", it works just fine. If you do "make install; pkg_delete ; make install" the last install doesn't do anything, because the ports system thinks that install target has already been made. Individual ports can also override "make deinstall". However, they shouldn't to do anything outside the ports tree that "pkg_delete" doesn't do. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message