git: b3e5761e6dba - main - lang/sbcl: Update to 2.1.11

From: Kirill Ponomarev <krion_at_FreeBSD.org>
Date: Thu, 16 Dec 2021 08:41:40 UTC
The branch main has been updated by krion:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b3e5761e6dbac62ada7f2b0584ab1af1aa000fc2

commit b3e5761e6dbac62ada7f2b0584ab1af1aa000fc2
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2021-12-16 08:41:21 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2021-12-16 08:41:21 +0000

    lang/sbcl: Update to 2.1.11
---
 lang/sbcl/Makefile  | 22 ++++------------------
 lang/sbcl/distinfo  | 10 +++++-----
 lang/sbcl/pkg-plist |  2 +-
 3 files changed, 10 insertions(+), 24 deletions(-)

diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile
index c54d901c7dc0..2f64097ef823 100644
--- a/lang/sbcl/Makefile
+++ b/lang/sbcl/Makefile
@@ -3,7 +3,7 @@
 # pinned to exact versions of everything used to build them.
 
 PORTNAME=	sbcl
-DISTVERSION=	2.1.10
+DISTVERSION=	2.1.11
 DISTVERSIONSUFFIX=	-source
 PORTEPOCH=	1
 CATEGORIES=	lang lisp
@@ -33,8 +33,8 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 PORTDOCS=	*
 
 # All options explained into file: ${WRKSRC}/base-target-features.lisp-expr
-OPTIONS_DEFINE=		DOCS QSHOW RENAME SAFEPOINT THREADS UNICODE XREF ZLIB
-OPTIONS_DEFAULT=	RENAME SBCL THREADS UNICODE
+OPTIONS_DEFINE=		DOCS QSHOW SAFEPOINT THREADS UNICODE XREF ZLIB
+OPTIONS_DEFAULT=	SBCL THREADS UNICODE
 
 OPTIONS_SINGLE=			BOOTSTRAP
 OPTIONS_SINGLE_BOOTSTRAP=	ABCL CCL CMUCL SBCL
@@ -45,7 +45,6 @@ BOOTSTRAP_DESC=	Supported languages of the build host
 CCL_DESC=	Clozure Common Lisp
 CMUCL_DESC=	Carnegie Mellon University Common Lisp
 QSHOW_DESC=	C runtime with low-level debugging output
-RENAME_DESC=	Rename suffix .core to _core
 SAFEPOINT_DESC=	Using safepoints instead of signals
 SBCL_DESC=	Steel Bank Common Lisp
 XREF_DESC=	XREF data for SBCL internals
@@ -64,15 +63,12 @@ DOCS_VARS=	INFO="asdf sbcl"
 QSHOW_VARS=	MAKE_SH_ARGS+="--with-sb-qshow"
 QSHOW_VARS_OFF=	MAKE_SH_ARGS+="--without-sb-qshow"
 
-RENAME_PLIST_SUB=	CORE_SUFFIX="_core"
-RENAME_PLIST_SUB_OFF=	CORE_SUFFIX=".core"
-
 SAFEPOINT_IMPLIES=	THREADS
 SAFEPOINT_VARS=		MAKE_SH_ARGS+="--with-sb-safepoint --with-sb-thruption --with-sb-wtimer"
 SAFEPOINT_VARS_OFF=	MAKE_SH_ARGS+="--without-sb-safepoint --without-sb-thruption --without-sb-wtimer"
 
 SBCL_DISTFILES=	${PORTNAME}-${SBCL_BOOT_LIST:M${ARCHOS_PATTERN}}-binary${EXTRACT_SUFX}:binaries
-SBCL_VARS=	XC_HOST="${BOOT_WRKSRC}/src/runtime/sbcl --core ${BOOT_WRKSRC}/output/${CORE} --noinform --disable-debugger --no-sysinit --no-userinit"
+SBCL_VARS=	XC_HOST="${BOOT_WRKSRC}/src/runtime/sbcl --core ${BOOT_WRKSRC}/output/sbcl.core --noinform --disable-debugger --no-sysinit --no-userinit"
 
 THREADS_VARS=		MAKE_SH_ARGS+="--with-sb-thread"
 THREADS_VARS_OFF=	MAKE_SH_ARGS+="--without-sb-thread"
@@ -115,22 +111,12 @@ DISTFILES:=	${DISTFILES} \
 . endfor
 .endif
 
-# Old FreeBSD bootstraps feature the older core name for SBCL bootstrap
-.if ${OPSYS} == FreeBSD
-CORE=		sbcl.core
-.else
-CORE=		sbcl_core
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \
 		${WRKSRC}/src/code/toplevel.lisp \
 		${WRKSRC}/doc/${PORTNAME}.1 \
 		${WRKSRC}/doc/manual/start-stop.texinfo
 
-post-patch-RENAME-on:
-	${GREP} -Frl '.core' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e 's|\.core|_core|g'
-
 do-build:
 	(cd ${WRKSRC} && ${SH} make.sh ${MAKE_SH_ARGS})
 
diff --git a/lang/sbcl/distinfo b/lang/sbcl/distinfo
index 59317868119d..0e7868c5a8c5 100644
--- a/lang/sbcl/distinfo
+++ b/lang/sbcl/distinfo
@@ -1,8 +1,8 @@
-TIMESTAMP = 1637052864
-SHA256 (sbcl-2.1.10-source.tar.bz2) = eb183f0f59a5cb2cbed762ec062bc34b9b6214b65402660784ef54838884b138
-SIZE (sbcl-2.1.10-source.tar.bz2) = 6680771
-SHA256 (sbcl-2.1.10-documentation-html.tar.bz2) = 0d078656a1b0fc2364d361756f0810ddd8c14ed18726b3dc8e8e5b726987a222
-SIZE (sbcl-2.1.10-documentation-html.tar.bz2) = 231917
+TIMESTAMP = 1639593548
+SHA256 (sbcl-2.1.11-source.tar.bz2) = bfc1481de7fdbdfaeef2ab0f0e8e84efd343433dea8d21cfbea8b0146cbdfefd
+SIZE (sbcl-2.1.11-source.tar.bz2) = 6687529
+SHA256 (sbcl-2.1.11-documentation-html.tar.bz2) = f5b4868bb2fe0798dec695a863ebdb12c59c324350ae6eaf17de2285c4c4df4c
+SIZE (sbcl-2.1.11-documentation-html.tar.bz2) = 231990
 SHA256 (sbcl-1.2.7-x86-64-freebsd-binary.tar.bz2) = c61f5e777e56921d2452d0fa6b71024ccd9b99bc659676498d398b8663176492
 SIZE (sbcl-1.2.7-x86-64-freebsd-binary.tar.bz2) = 10463348
 SHA256 (sbcl-1.2.7-x86-freebsd-binary.tar.bz2) = cf68bfab780a14964d9593f5b47fa3e174cf43e95ae3e558712d218f1c37bdbe
diff --git a/lang/sbcl/pkg-plist b/lang/sbcl/pkg-plist
index d77d4ec046fb..1eb09094283a 100644
--- a/lang/sbcl/pkg-plist
+++ b/lang/sbcl/pkg-plist
@@ -162,6 +162,6 @@ lib/sbcl/sb-sprof/report.lisp
 lib/sbcl/sb-sprof/sb-sprof.asd
 lib/sbcl/sb-sprof/test.lisp
 lib/sbcl/sbcl.mk
-lib/sbcl/sbcl%%CORE_SUFFIX%%
+lib/sbcl/sbcl.core
 man/man1/sbcl.1.gz
 @sample etc/sbclrc.sample