From owner-freebsd-ports@FreeBSD.ORG Sun Jul 22 16:58:26 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA91F16A417 for ; Sun, 22 Jul 2007 16:58:26 +0000 (UTC) (envelope-from knightbg@yahoo.com) Received: from web32404.mail.mud.yahoo.com (web32404.mail.mud.yahoo.com [68.142.207.197]) by mx1.freebsd.org (Postfix) with SMTP id A8C1513C47E for ; Sun, 22 Jul 2007 16:58:26 +0000 (UTC) (envelope-from knightbg@yahoo.com) Received: (qmail 23501 invoked by uid 60001); 22 Jul 2007 16:58:26 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=J4kEjpBh9FBDHr9LbpuczW8hh/E4uwatZVQy07rPOiPzn99N/cm5+JVky5LmO8jrUe7/MJIVBh76yOn457l647CrfiIbkuLazHrqBmZyJ4IU241yzKYgp3LNI9hETdhvAK/BFbcYQTKKEWG93vnP6Pgwhe/EO/dzroalnDJZL7g=; X-YMail-OSG: vEwmAIMVM1nSuePUkRyPZFdo4qbTiHAIIujAn8yuYXiUeTrJQzNaTT51sjFDFtQ_IJOa9clzz6MyKn3..RuxQU522AU0Il6_RWXYCA_pbKVQRErtn_Y- Received: from [72.68.205.139] by web32404.mail.mud.yahoo.com via HTTP; Sun, 22 Jul 2007 09:58:26 PDT Date: Sun, 22 Jul 2007 09:58:26 -0700 (PDT) From: Brian Gruber To: Peter Jeremy In-Reply-To: <20070722121850.GB1176@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <58945.22128.qm@web32404.mail.mud.yahoo.com> Cc: freebsd-ports@freebsd.org Subject: Re: emacs upgrade question 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: Sun, 22 Jul 2007 16:58:26 -0000 --- Peter Jeremy wrote: > On 2007-Jul-21 10:34:36 -0700, Brian Gruber > wrote: > >Now I'm ready to upgrade to emacs 22. What's the > >correct procedure for this? I'm guessing perhaps > it's > >to set the var in make.conf to emacs22 and then do > >'portupgrade -fr emacs'. > > You no longer have 'emacs' installed. I would > suggest removing > 'EMACS_PORT_NAME' (which defaults to emacs22 and > causes problems > with some ports if set) and using: > # portupgrade -f -o editors/emacs emacs21 > i'm sorry, but this appears to be just wrong. The package name (which is what is being specified as the last argument) is still emacs: $ portupgrade -nfo editors/emacs emacs21 ---> Session started at: Sun, 22 Jul 2007 12:43:21 -0400 ** No such installed package: emacs21 ** None has been installed or upgraded. ---> Session ended at: Sun, 22 Jul 2007 12:43:21 -0400 (consumed 00:00:00) $ portupgrade -no editors/emacs emacs ---> Session started at: Sun, 22 Jul 2007 12:43:44 -0400 ---> Upgrade of editors/emacs started at: Sun, 22 Jul 2007 12:43:47 -0400 ---> Upgrading 'emacs-21.3_10' to 'emacs-22.1' (editors/emacs) OK? [no] ---> Upgrade of editors/emacs ended at: Sun, 22 Jul 2007 12:43:47 -0400 (consumed 00:00:00) ---> ** Upgrade tasks 1: 1 done, 0 ignored, 0 skipped and 0 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) + editors/emacs (emacs-21.3_10) ---> Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed ---> Session ended at: Sun, 22 Jul 2007 12:43:47 -0400 (consumed 00:00:02) So I ask again, what is the correct way to upgrade to emacs22 when I've already followed the instructions in UPGRADING to keep emacs21? My current guess is: 1) set EMACS_PORT_NAME=emacs22 in make.conf 2) portupgrade -fro editors/emacs emacs /brian ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting