ports/90471: lang/tuareg-mode.el: fix build with emacs20

NIIMI Satoshi sa2c at sa2c.net
Thu Dec 15 23:50:08 UTC 2005


>Number:         90471
>Category:       ports
>Synopsis:       lang/tuareg-mode.el: fix build with emacs20
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 15 23:50:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     NIIMI Satoshi
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD berkeley.l.sa2c.net 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Tue Nov 8 17:05:21 JST 2005 root at berkeley.l.sa2c.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
Because the command name of editors/emacs20 changed from "emacs" to
"emacs20", this port does not build with emacs20.
	
>How-To-Repeat:
	
>Fix:

	

--- tuareg-mode.el.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/tuareg-mode.el/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile	11 Feb 2005 08:28:35 -0000	1.3
+++ Makefile	15 Dec 2005 23:25:27 -0000
@@ -13,8 +13,7 @@
 MAINTAINER=	dd at FreeBSD.org
 COMMENT=	Emacs major mode for editing Caml code
 
-BUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs20
-RUN_DEPENDS=	emacs:${PORTSDIR}/editors/emacs20
+EMACS_PORT_NAME?=	emacs20
 
 DOC_FILES=	README HISTORY append-tuareg.el custom-tuareg.el
 DOC_DIR=	share/doc/tuareg-mode
@@ -30,7 +29,7 @@
 .for __f in ${ELISP_FILES}
 	cd ${WRKSRC} && echo '(setq load-path (cons "." load-path)) \
 			      (batch-byte-compile)' | \
-			emacs -batch -q -l /dev/stdin ${__f} 2> /dev/null
+			${EMACS_CMD} -batch -q -l /dev/stdin ${__f} 2> /dev/null
 .endfor
 
 do-install:
--- tuareg-mode.el.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list