From 7074031439f9a766f1a31856ba95a41253767df8 Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Mon, 2 Jan 2006 02:10:25 +0000
Subject: This port still requires emacs20, so use the port.mk emacs framework
to get the right port. (Actually, ideally, the port would just be upgraded to
use emacs21, but--this is better than nothing for now.)
PR: 90469, 90471
Submitted by: NIIMI Satoshi
---
mail/rmime/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'mail/rmime')
diff --git a/mail/rmime/Makefile b/mail/rmime/Makefile
index f60b10da973b..8c9d44172ca1 100644
--- a/mail/rmime/Makefile
+++ b/mail/rmime/Makefile
@@ -19,7 +19,7 @@ EXTRACT_ONLY= # empty
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 @@ STRIP= # empty
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\
--
cgit v1.2.3