Building of emacs-related port will fail on byte-compiling .el files, if PREFIX is specified . How-To-Repeat: 1. Build dependent ports normally. # cd /usr/ports/x11-toolkits/Xaw3d # make install clean # cd /usr/ports/graphics/jpeg # make install clean # cd /usr/ports/graphics/tiff # make install clean # cd /usr/ports/graphics/libungif # make install clean # cd /usr/ports/graphics/png 2. Build emacs related ports with PREFIX # cd /usr/ports/editors/emacs21 # make PREFIX=/usr/local/emacs21 install clean # cd /usr/ports/editors/tamago # make PREFIX=/usr/local/emacs21 install 3. Watch tamago port fail to build due to not finding /usr/local/bin/emacs-21.3.
Responsible Changed From-To: freebsd-ports-bugs->shige Over to maintainer.
Responsible Changed From-To: shige->freebsd-ports-bugs Maintainer was reset. I'm assuming this is still a problem, but someone with more understanding of the underlying problem should probably take a look.
Hi, I think, patch from submitter is not fully correct. Please, review my patch, fixed this problem: --8<---------------cut here---------------start------------->8--- --- Mk/bsd.emacs.mk.orig Sat Mar 5 16:57:12 2005 +++ Mk/bsd.emacs.mk Sat Mar 5 17:04:32 2005 @@ -213,10 +213,15 @@ # # emacsen command-line filename -EMACS_CMD?= ${LOCALBASE}/bin/${EMACS_NAME}-${EMACS_VER} +.if exists(${LOCALBASE}/bin/${EMACS_NAME}-${EMACS_VER}) +EMACS_BASE?= ${LOCALBASE} +.elsif exists(${PREFIX}/bin/${EMACS_NAME}-${EMACS_VER}) +EMACS_BASE?= ${PREFIX} +.endif +EMACS_CMD?= ${EMACS_BASE}/bin/${EMACS_NAME}-${EMACS_VER} # emacsen core elisp filename EMACS_CORE_DIR= ${EMACS_LIBDIR_WITH_VER}/lisp/${EMACS_CORE_SUBDIR} -EMACS_COREEL= ${LOCALBASE}/${EMACS_CORE_DIR}/startup.el +EMACS_COREEL= ${EMACS_BASE}/${EMACS_CORE_DIR}/startup.el # emacsen libdir without ${LOCALBASE} EMACS_SITE_LISPDIR?= ${EMACS_LIBDIR}/site-lisp --8<---------------cut here---------------end--------------->8--- -- Regards, Andrey.
State Changed From-To: open->closed Committed, thanks!