git: 4ed0610ed9cb - main - math/calc: Update to 2.14.1.4

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Mon, 06 Mar 2023 12:26:20 UTC
The branch main has been updated by adamw:

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

commit 4ed0610ed9cb2f49adea0745e11bb48458fad81d
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2023-03-06 12:26:13 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2023-03-06 12:26:13 +0000

    math/calc: Update to 2.14.1.4
---
 math/calc/Makefile | 6 +++---
 math/calc/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/math/calc/Makefile b/math/calc/Makefile
index 00c0f883121d..1fde41ab7d05 100644
--- a/math/calc/Makefile
+++ b/math/calc/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	calc
-PORTVERSION=	2.14.1.3
+PORTVERSION=	2.14.1.4
 DISTVERSIONPREFIX=	v
 CATEGORIES=	math
 
@@ -30,12 +30,12 @@ HELP_DESC=	Install calc help files
 
 # We use Makefile.freebsd because Makefile.local is in .gitignore
 post-extract:
-	${SED} -e 's|%%CC%%|${CC}|; s|%%CFLAGS%%|${CFLAGS}|;' \
+	${SED} -e 's|%%CC%%|${CC}|; s|%%CFLAGS%%|${CFLAGS}|; s|%%SH%%|${SH}|' \
 		${FILESDIR}/Makefile.freebsd > ${WRKSRC}/Makefile.local
 # The upstream Makefiles are a mess. Bash is hardcoded in many files, and only
 # some of the Makefiles allow overrides. Plus, they error out if sed .bkp files exist.
 	${FIND} ${WRKSRC} -name 'Makefile*' \
-		| ${XARGS} ${REINPLACE_CMD} -i '' -e 's|/bin/bash|${SH}|'
+		| ${XARGS} ${REINPLACE_CMD} -i '' -E -e '/SHELL:?=/s|bash|${SH}|'
 
 post-install:
 	cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/calc lib/lib*.so
diff --git a/math/calc/distinfo b/math/calc/distinfo
index 5a334ba70d25..af846d947617 100644
--- a/math/calc/distinfo
+++ b/math/calc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676466076
-SHA256 (lcn2-calc-v2.14.1.3_GH0.tar.gz) = 6a546a06d477d9b226a0aad0c061398d1c75d18ffb5ba0f0ae4848db83c173e3
-SIZE (lcn2-calc-v2.14.1.3_GH0.tar.gz) = 1213970
+TIMESTAMP = 1678104998
+SHA256 (lcn2-calc-v2.14.1.4_GH0.tar.gz) = f954dfdfdbb1374e6950b80e56933edb32fc8a5cb3185d2806677cce7e7f1f43
+SIZE (lcn2-calc-v2.14.1.4_GH0.tar.gz) = 1217611