From owner-freebsd-questions@FreeBSD.ORG Sun Aug 5 03:54:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4FA716A41A for ; Sun, 5 Aug 2007 03:54:16 +0000 (UTC) (envelope-from apvanderveen@att.net) Received: from mtiwmhc13.worldnet.att.net (mtiwmhc13.worldnet.att.net [204.127.131.117]) by mx1.freebsd.org (Postfix) with ESMTP id B2D2513C459 for ; Sun, 5 Aug 2007 03:54:16 +0000 (UTC) (envelope-from apvanderveen@att.net) Received: from t60.mydomain.home (cpe-72-231-141-22.nycap.res.rr.com[72.231.141.22]) by worldnet.att.net (mtiwmhc13) with ESMTP id <20070805034357113008v60ve>; Sun, 5 Aug 2007 03:43:58 +0000 Message-ID: <46B5477B.4030001@att.net> Date: Sat, 04 Aug 2007 23:43:55 -0400 From: "Arend P. van der Veen" User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: Matthew Seaman References: <46AA4CBB.4080605@dwinner.net> <46AA5D1A.5020207@infracaninophile.co.uk> In-Reply-To: <46AA5D1A.5020207@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "David J. Neu" , dwinner@dwinner.net, freebsd-questions@freebsd.org Subject: Re: emacs22 and portsdb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Aug 2007 03:54:17 -0000 Hi, I have been having trouble with emacs22 also. I am using FreeBSD 6.2-RELEASE-p7. I did the upgrade as described in the updating notes. I use emacs plus auctex slime quack emacs-w3m Everything was upgraded properly. However, no portsdb -Uu generates errors. Therefore, I have remove EMACS_PORT_NAME=emacs22 from /etc/make.conf and now portsdb -Uu works without a problem. However, if I remove any of the ports such as auctex and then reinstall it, portinstall will try to install emacs21 again which conflicts with emacs22. I am stuck. If I leave EMACS_PORT_NAME=emacs22 in /etc/make.conf then dependencies work but portsdb -Uu fails. If I remove EMACS_PORT_NAME=emacs22 from /etc/make.conf then portsdb -Uu works but the dependencies are messed up. I even went as far as to delete emacs with pkg_delete -r emacs-22.1 and tried installing everything from scratch. However the dependencies are still messed up. Does anybody have a solution to this problem? Thanks, Arend van der Veen Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Duane Winner wrote: > >> We've been having a problem with generating the ports Index ever since >> upgrading to emacs22. >> >> As per /usr/ports/UPDATING, we added EMACS_PORT_NAME=*emacs22* to >> /etc/make.conf > > Errr --- that should probably read: > > EMACS_PORT_NAME=emacs22 > > You certainly don't need the asterisks there. > > In any case, setting this variable will screw up indexing, because a > number of e-lisp ports will try and append the EMACS_PORT_NAME to > their package origin if it is set. However not all the ports that > do that also have a slave port 'foo-emacs22' hence the problems with > building the INDEX. > > The best answer is don't set EMACS_PORT_NAME in /etc/make.conf -- > emacs22 is the default now anyhow. The INDEX will build just fine, > and the various e-lisp packages seem to work OK as well, so long as > you've reinstall all the e-lisp packages once you've upgraded from > emacs21 to emacs22. > > Cheers, > > Matthew > > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGql0a8Mjk52CukIwRCJkgAJ0fh9qkl4eWFQRwrrG8DIwAOqUmlACeMT19 > 8AWFPYKQdh8Fvko14TCwyxs= > =vZLj > -----END PGP SIGNATURE----- >