ports/90469: mail/rmime: fix build with emacs20
NIIMI Satoshi
sa2c at sa2c.net
Thu Dec 15 23:50:08 UTC 2005
>Number: 90469
>Category: ports
>Synopsis: mail/rmime: 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:02 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:
--- rmime.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/rmime/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 7 Mar 2003 06:05:59 -0000 1.3
+++ Makefile 15 Dec 2005 23:27:19 -0000
@@ -19,7 +19,7 @@
MAINTAINER= dd at FreeBSD.org
COMMENT= Decode MIME messages inside Emacs (works with RMAIL, VM, and mh-e)
-BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs20
+EMACS_PORT_NAME?= emacs20
RUN_DEPENDS= metamail:${PORTSDIR}/mail/metamail
NO_WRKSUBDIR= yes
@@ -27,7 +27,7 @@
do-build:
${CP} ${DISTDIR}/rmime.el ${WRKDIR}
- emacs -batch -f batch-byte-compile ${WRKDIR}/rmime.el
+ ${EMACS_CMD} -batch -f batch-byte-compile ${WRKDIR}/rmime.el
do-install:
${INSTALL_DATA} ${WRKDIR}/rmime.el ${WRKDIR}/rmime.elc\
--- rmime.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list