From owner-freebsd-ports@FreeBSD.ORG Thu Apr 29 06:08:59 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F6A2106566C for ; Thu, 29 Apr 2010 06:08:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id A3C698FC0C for ; Thu, 29 Apr 2010 06:08:58 +0000 (UTC) Received: (qmail 10867 invoked by uid 399); 29 Apr 2010 06:08:57 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 29 Apr 2010 06:08:57 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BD92278.9000702@FreeBSD.org> Date: Wed, 28 Apr 2010 23:08:56 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: glarkin@FreeBSD.org References: <4BCC8A40.30501@FreeBSD.org> <4BCC9A5F.10705@FreeBSD.org> In-Reply-To: <4BCC9A5F.10705@FreeBSD.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: portmaster, renamed ports, and DEPRECATED X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 06:08:59 -0000 On 04/19/10 11:01, Doug Barton wrote: > On 4/19/2010 9:52 AM, Greg Larkin wrote: >> Hi Doug, >> >> I just tried to upgrade from math/libgmp4 to math/gmp after refreshing >> my ports tree. math/gmp has superseded math/libgmp4, so I used >> portmaster's -o option to upgrade from a new origin, e.g.: >> >> portmaster -o math/gmp math/libgmp4 >> >> I've done this in the past with no problem, but this time, the old port >> had already been marked DEPRECATED, and portmaster refused to continue >> the upgrade. I commented out the DEPRECATED variable in >> math/libgmp4/Makefile, and reran portmaster with no trouble. >> >> Would it be possible to detect when -o is being used for an upgrade and >> ignore DEPRECATED on the previous port? I just committed revision r207353 to svn which has a fix for this issue, thanks again for bringing it to my attention. If there is anyone left who hasn't done this update yet, you can get information on downloading the svn version at http://dougbarton.us/portmaster-proposal.html. Although I've tested it fairly extensively I would appreciate confirmation that it's working as it should. I plan to add some more cross checking for command line stuff and to do a bit more regression testing tomorrow, then commit the current round of bug fixes to the ports tree version. Regards, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/