Date: Wed, 6 Oct 2021 09:46:17 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Per olof Ljungmark <peo@nethead.se> Cc: ports@freebsd.org Subject: Re: Remove a port without removing files Message-ID: <20211006074617.cf5fwrugifmydstc@aniel.nours.eu> In-Reply-To: <199845d7-2be0-f572-b6f5-78a2d51562bb@nethead.se> References: <199845d7-2be0-f572-b6f5-78a2d51562bb@nethead.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 05, 2021 at 07:03:30PM +0200, Per olof Ljungmark wrote: > As the subject says, I need to remove a port so pkg etc does not care about > it, but keeping all the ports files intact. > > Thanks, > Per > Install it with pkg, then echo 'delete from packages where name="mypkgname";' | pkg shell This should do it. with recent ports tree, NO_PKG_REGISTER has been fixed so make NO_PKG_REGISTER=yes install will do it as well. Best regards, Bapt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211006074617.cf5fwrugifmydstc>