From owner-freebsd-ports@FreeBSD.ORG Fri Aug 27 12:31:48 2004 Return-Path: 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 29A4416A4CE; Fri, 27 Aug 2004 12:31:48 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0159C43D1D; Fri, 27 Aug 2004 12:31:48 +0000 (GMT) (envelope-from dan@langille.org) Received: from xeon (xeon.unixathome.org [192.168.0.18]) by bast.unixathome.org (Postfix) with ESMTP id 32AEA3D40; Fri, 27 Aug 2004 08:31:47 -0400 (EDT) Date: Fri, 27 Aug 2004 08:31:47 -0400 (EDT) From: Dan Langille X-X-Sender: dan@xeon.unixathome.org To: ports@FreeBSD.org Message-ID: <20040827081945.U78365@xeon.unixathome.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: sethk@meowfishies.com cc: adamw@FreeBSD.org Subject: sysutils/bpm fails to notice that portupgrade is already installed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2004 12:31:48 -0000 Perhaps this line: RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade needs to be: RUN_DEPENDS= ${LOCALBASE}/sbin/portsdb:${PORTSDIR}/sysutils/portupgrade Solution taken from sysutils/barry. FWIW, sysutils/pkg_cutleaves uses RUN_DEPENDS= ${LOCALBASE}/sbin/pkg_deinstall:${PORTSDIR}/sysutils/portupgrade [root@laptop:/usr/ports/sysutils/bpm] # make install clean ===> Installing for bpm-0.4.1b ===> bpm-0.4.1b depends on executable: portupgrade - not found ===> Verifying install for portupgrade in /usr/ports/sysutils/portupgrade ===> Installing for portupgrade-20040701_3 ===> portupgrade-20040701_3 depends on file: /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd4/bdb1.so - found ===> portupgrade-20040701_3 depends on file: /usr/local/bin/ruby18 - found ===> Generating temporary packing list ===> Checking if sysutils/portupgrade already installed ===> portupgrade-20040701_3 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of sysutils/portupgrade without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/sysutils/portupgrade. *** Error code 1 Stop in /usr/ports/sysutils/bpm. [root@laptop:/usr/ports/sysutils/bpm] # pkg_info | grep portupgrade portupgrade-20040701_3 FreeBSD ports/packages administration and management tool s [root@laptop:/usr/ports/sysutils/bpm] # FreeBSD laptop.unixathome.org 4.10-STABLE FreeBSD 4.10-STABLE #1: Sun Jul 25 00:53:29 EDT 2004 dan@laptop.example.org:/usr/obj/usr/src/sys/LAPTOP i386 -- Dan Langille - http://www.langille.org/