According to /usr/ports/UPDATING:
  If you want to keep using Emacs 21.3, please add EMACS_PORT_NAME=emacs21
  to /etc/make.conf and reinstall Emacs from editors/emacs21 port:
After doing this, "make index" fails with:
Generating INDEX-6 - please wait..pcl-cvs-emacs21-2.9.9_2: 
"/usr/ports/devel/elib-emacs21" non-existent -- dependency list incomplete
===> devel/pcl-cvs-emacs20 failed

The problem is that pcl-cvs-emacs20 includes EMACS_PORT_NAME?=emacs20
and assumes that there is a port devel/elib-${EMACS_PORT_NAME}.  The
version of elib for emacs21 has no suffix (which suggests it may also
need updating for emacs22).

In this particular case, the following would probably work:

.if ${EMACS_PORT_NAME} != "emacs20"
IGNORE="Only for Emacs 20"
.endif

I notice that there are a total of 140 ports that set EMACS_PORT_NAME
so a more general solution is probably desirable.  Does anyone have
any suggestions?

-- 
Peter Jeremy

Attachment: pgp6bezcx3U98.pgp
Description: PGP signature

Reply via email to