From owner-freebsd-ports Tue Oct 15 10:27:42 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02B0A37B401 for ; Tue, 15 Oct 2002 10:27:41 -0700 (PDT) Received: from mandarin.fruitsalad.org (pc117.net160.koping.net [81.16.160.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39BC843EAF for ; Tue, 15 Oct 2002 10:27:40 -0700 (PDT) (envelope-from lauri@kde.org) Received: from [192.168.15.151] (helo=192.168.15.151) by mandarin.fruitsalad.org with esmtp (Exim 4.10) id 181VTi-000ARl-00; Tue, 15 Oct 2002 19:27:34 +0200 From: Lauri Watts To: "Clark C. Evans" Subject: Re: configuration database confusion Date: Tue, 15 Oct 2002 00:29:45 +0200 User-Agent: KMail/1.4.7 References: <20021014211418.GC36236@doublegemini.com> <20021014212931.GD367@nitro.dk> <20021014220434.GA36469@doublegemini.com> In-Reply-To: <20021014220434.GA36469@doublegemini.com> Cc: ports@freebsd.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200210150029.48805.lauri@kde.org> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 15 October 2002 00.04, Clark C. Evans wrote: > On Mon, Oct 14, 2002 at 11:29:32PM +0200, Simon L. Nielsen wrote: > | > My problem is that if I install a given port on one > | > system, it somehow marks that port as installed so > | > that "make install" no longer attempts an installation. > | > | Try doing a "make clean" before doing the install again. > > In the short term, I'm looking for an alternative. > "make deinstall" kinda works but it is quite draconian. > Is there some place that records which ports are > already installed? Some flag that I can flip somewhere > (or build from pkg_info) so that it doesn't assume > incorrectly about the state of the installation. Use portupgrade, with the -p flag the first time you build the port, and with the -P flag after that. -p will save a package into /usr/ports/packages/ and - -P will check there first before attempting to build the port again. You could just "make package" yourself for the first one, but then you'd have to put it in place for the next install yourself, it's easier to let portupgrade do the work. Regards, - -- Lauri Watts KDE Documentation: http://i18n.kde.org/doc/ KDE on FreeBSD: http://freebsd.kde.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9q0VZ/gUyA7PWnacRAk51AKCC5dZrjLI4lueKCEZ2x0el9G2m2ACeIz5w DMD4imbAuwlnrKPH2BvQ71M= =WucM -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message