emacs upgrade question
Brian Gruber
knightbg at yahoo.com
Sun Jul 22 16:58:26 UTC 2007
--- Peter Jeremy <peterjeremy at optushome.com.au> wrote:
> On 2007-Jul-21 10:34:36 -0700, Brian Gruber
> <knightbg at yahoo.com> 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
More information about the freebsd-ports
mailing list