Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2000 16:03:40 -0700 (MST)
From:      John Reynolds <jjreynold@home.com>
To:        ports@freebsd.org
Subject:   trouble with apel-emacs Makefile ...
Message-ID:  <14620.36300.784130.9030@whale.home-net>

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

hello,

I was doing a "make index" in /usr/ports and it gave me some funny errors which
I tracked down to the apel-emacs port (among others). When doing "make
describe" in that ports directory I get:

===> editors/apel-emacs
apel-emacs-10.2: "/usr/ports/editors/custom-" non-existent -- dependency list in
completeapel-emacs-10.2: "/usr/ports/editors/custom-" non-existent -- dependency
 list incompleteapel-emacs-10.2|/usr/ports/editors/apel-emacs|/usr/local|A Porta
ble Emacs Library for emacs|/usr/ports/editors/apel-emacs/pkg/DESCR|shige@FreeBS
D.org|editors elisp|/usr/ports/editors/emacs|/usr/ports/editors/emacs|

Tracking this down, I think it is because a variable is not set in the Makefile
correctly:

   # emacs port setup
   .if (${PORTCLASS} == "master")
   EMACS_PORT_NAME=        emacs    <---------- gets set
   # emacs requires *-setupel.el
   REQUIRE_SETUPEL=  YES
   .endif
   
   .include <bsd.port.pre.mk>
   
   # target name for make build
   ALL_TARGET?=    elc
   
   # depends on custom: emacs-19.34 or mule-19.34
   .if (${EMACS_VER} == "19.34")
   BUILD_DEPENDS+= ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}  <------------- "EMACS_PORT" used here
   RUN_DEPENDS+=   ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/site-lisp/custom.el:${PORTSDIR}/editors/custom-${EMACS_PORT}  <------------- "EMACS_PORT" used here
   .endif
   .if defined(EMACS_PACKAGESDIR)

The only thing(s) resembling "/usr/ports/editors/custom-*" are:

  /usr/ports/editors/custom-emacs/  /usr/ports/editors/custom-mule/

So, it seems that EMACS_PORT_NAME needs to be used where EMACS_PORT is used,
correct? 

If so, I will send in patches to this and apel-mule which is also broken.

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
John Reynolds         Chandler Capabilities Engineering, CDS, Intel Corporation
jreynold@sedona.ch.intel.com  My opinions are mine, not Intel's. Running
jjreynold@home.com          FreeBSD 3.4-STABLE. FreeBSD: The Power to Serve.
http://members.home.com/jjreynold/  Come join us!!! @ http://www.FreeBSD.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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