FreeBSD Bugzilla – Bug 95238
bsd.port.mk: include bsd.emacs.mk only when USE_EMACS is set
Last modified: 2006-05-23 22:56:03 UTC
With current bsd.port.mk, bsd.emacs.mk is included when USE_EMACS or
EMACS_PORT_NAME is set. But if EMACS_PORT_NAME is set from command line or
/etc/make.conf, every port depends on the corresponding emacs port and
this causes infinite dependency loop (e.g. editors/apel -> editors/emacs-devel
-> editors/emacs-devel ...). This behaviour prevents from building emacs lisp
ports for emacs-devel by setting EMACS_PORT_NAME=emacs22 from command line or
So I would like to modify bsd.port.mk to include bsd.emacs.mk only when
USE_EMACS is set. Six ports (editors/doxymacs, lang/tuareg-mode.el,
mail/rmime, math/proofgeneral, textproc/tdtd.el and textproc/uim-el) should be
modified to set USE_EMACS by this modification.
How-To-Repeat: # cd /usr/ports/editors/apel
# make EMACS_PORT_NAME=emacs22 install
bsd.port.mk is portmgr's territory.
Accepted for testing on next experimental package build
Patch committed, thanks!