mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
math/ess: Fix Emacs deprecation warning
Fix 'Package cl is deprecated' warning for Emacs by replacing all remaining uses of cl with cl-lib.
This commit is contained in:
parent
5cf4242d5f
commit
fc3a050cbe
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user