Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2007 10:01:26 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        freebsd-ports@freebsd.org
Subject:   "make index" fails if EMACS_PORT_NAME=emacs21
Message-ID:  <20070721000126.GZ1176@turion.vk2pj.dyndns.org>

next in thread | raw e-mail | index | archive | help

--24zk1gE8NUlDmwG9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

According to /usr/ports/UPDATING:
  If you want to keep using Emacs 21.3, please add EMACS_PORT_NAME=3Demacs21
  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/deve=
l/elib-emacs21" non-existent -- dependency list incomplete
=3D=3D=3D> devel/pcl-cvs-emacs20 failed

The problem is that pcl-cvs-emacs20 includes EMACS_PORT_NAME?=3Demacs20
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:

=2Eif ${EMACS_PORT_NAME} !=3D "emacs20"
IGNORE=3D"Only for Emacs 20"
=2Eendif

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?

--=20
Peter Jeremy

--24zk1gE8NUlDmwG9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGoUzW/opHv/APuIcRAvT3AJsFDtRePGYhwrmiP4HrOKE/RXOjmACdH062
5cYlzO9ClJfTiPolgyBlDtQ=
=Dgrd
-----END PGP SIGNATURE-----

--24zk1gE8NUlDmwG9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070721000126.GZ1176>