From owner-freebsd-ports@FreeBSD.ORG Wed Dec 29 05:00: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 E4F2016A4CE for ; Wed, 29 Dec 2004 05:00:48 +0000 (GMT) Received: from smtp814.mail.sc5.yahoo.com (smtp814.mail.sc5.yahoo.com [66.163.170.84]) by mx1.FreeBSD.org (Postfix) with SMTP id 9EDC743D39 for ; Wed, 29 Dec 2004 05:00:48 +0000 (GMT) (envelope-from krinklyfig@spymac.com) Received: from unknown (HELO smogmonster.com) (jtinnin@pacbell.net@64.173.26.30 with login) by smtp814.mail.sc5.yahoo.com with SMTP; 29 Dec 2004 05:00:48 -0000 From: Joshua Tinnin To: freebsd-ports@freebsd.org Date: Tue, 28 Dec 2004 21:00:47 -0800 User-Agent: KMail/1.7.2 References: <200412282034.11149.ringworm@inbox.lv> <200412282055.46838.krinklyfig@spymac.com> In-Reply-To: <200412282055.46838.krinklyfig@spymac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412282100.48463.krinklyfig@spymac.com> cc: Sam Lawrance Subject: Re: desktop-file-utils 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: Wed, 29 Dec 2004 05:00:49 -0000 On Tuesday 28 December 2004 08:55 pm, Joshua Tinnin wrote: > On Tuesday 28 December 2004 08:34 pm, "Michael C. Shultz" > wrote: > > I get the following error when trying to deinstall > > desktop-file-utils: > > > > root@ringworm:/usr/ports/devel/desktop-file-utils#make deinstall > > ===> Deinstalling for devel/desktop-file-utils > > ===> Deinstalling desktop-file-utils-0.10 > > ===> desktop-file-utils-0.9 has a different PREFIX: /usr/X11R6, > > skipping > > root@ringworm:/usr/ports/devel/desktop-file-utils# > > > > I have no idea what is causing this, do you? > > Yes, the 0.10 version installs the binary in ${LOCALBASE}/bin , which > is /usr/local/bin , instead of ${X11BASE}/bin , which > is /usr/X11R6/bin/. I'm not sure why it's not finding it correctly in > your case, as it will deinstall for me. Maybe your pkgdb isn't > correct. Maybe try pkgdb -F. This change has caused some problems > (not sure if the change were intentional), specifically with gimp, > and I sent a patch to the list for that earlier. The patch solves the > problem for gimp, but I'm not sure that desktop-file-utils is > supposed to be installing in LOCALBASE. Oh, right. Because you have the earlier version installed, it's trying to deinstall using a different base because the install directory changed, so do what Sam said and use pkg_delete. - jt > > Also I think going from version 0.9 to 0.10 is actually going > > backwards, probably should have gone from 0.09 to 0.10, and maybe > > you are going to need to set PORTEPOCH=1 ? > > Not sure ...