"make index" fails if EMACS_PORT_NAME=emacs21
Peter Jeremy
peterjeremy at optushome.com.au
Sat Jul 21 00:15:35 UTC 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070721/6faee44e/attachment.pgp
More information about the freebsd-ports
mailing list