diff options
author | Rainer Hurling <rhurlin@FreeBSD.org> | 2023-09-24 19:23:06 +0200 |
---|---|---|
committer | Rainer Hurling <rhurlin@FreeBSD.org> | 2023-09-24 19:31:57 +0200 |
commit | fc3a050cbe5e2e0d45d25cfd7ccec043720fc65f (patch) | |
tree | 8e731b58f240921267d1e848568dc06c4da0beeb | |
parent | 5cf4242d5f468f1663da0df17f0b18b6edd6f581 (diff) | |
download | freebsd-ports-fc3a050cbe5e2e0d45d25cfd7ccec043720fc65f.zip |
math/ess: Fix Emacs deprecation warning
Fix 'Package cl is deprecated' warning for Emacs by replacing all remaining uses of cl with cl-lib.
-rw-r--r-- | math/ess/Makefile | 9 |
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/ |