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 /etc/make.conf. 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
Responsible Changed From-To: freebsd-ports-bugs->portmgr bsd.port.mk is portmgr's territory.
State Changed From-To: open->analyzed Accepted for testing on next experimental package build
State Changed From-To: analyzed->closed Patch committed, thanks!