From fc3a050cbe5e2e0d45d25cfd7ccec043720fc65f Mon Sep 17 00:00:00 2001 From: Rainer Hurling Date: Sun, 24 Sep 2023 19:23:06 +0200 Subject: math/ess: Fix Emacs deprecation warning Fix 'Package cl is deprecated' warning for Emacs by replacing all remaining uses of cl with cl-lib. --- math/ess/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'math/ess') 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/ -- cgit v1.2.3