Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2005 08:41:43 +0900 (JST)
From:      NIIMI Satoshi <sa2c@sa2c.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/90469: mail/rmime: fix build with emacs20
Message-ID:  <20051215234143.AD1E31145D@berkeley.l.sa2c.net>
Resent-Message-ID: <200512152350.jBFNo2ej005006@freefall.freebsd.org>

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

>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@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@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:



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