summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/ess/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/math/ess/Makefile b/math/ess/Makefile
index 609c16130c4b..8514c3674396 100644
--- a/math/ess/Makefile
+++ b/math/ess/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ess
DISTVERSION= 18.10.2
-PORTREVISION= 16
+PORTREVISION= 17
CATEGORIES= math
MASTER_SITES= http://ess.r-project.org/downloads/ess/ \
http://stat.ethz.ch/ESS/downloads/ess/
@@ -32,6 +32,13 @@ post-patch:
s|share/info|${INFO_PATH}|' ${WRKSRC}/Makeconf
@${REINPLACE_CMD} -e \
'/^PDFs/s|=.*|=|' ${WRKSRC}/doc/Makefile
+ @${REINPLACE_CMD} -e \
+ "s|require 'cl)|require 'cl-lib)|g" \
+ ${WRKSRC}/lisp/julia-mode.el
+ @${REINPLACE_CMD} -e \
+ "/require 'cl)/d" \
+ ${WRKSRC}/lisp/ess-tracebug.el \
+ ${WRKSRC}/lisp/ess.el \
post-install:
@${CP} ${WRKSRC}/lisp/*.el ${STAGEDIR}${PREFIX}/share/emacs/site-lisp/ess/