git: f94f9b43cd2a - main - math/gh-bc: upgrade to version 6.0.1

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Sun, 07 Aug 2022 15:51:32 UTC
The branch main has been updated by se:

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

commit f94f9b43cd2a81b8dd6cddf6d34cc8eab49ab87e
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-08-07 15:45:38 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-08-07 15:50:21 +0000

    math/gh-bc: upgrade to version 6.0.1
    
    This update adds the -c/-C options to control the clamping behavior
    (the parsing of digits not allowed by the current value of ibase).
---
 math/gh-bc/Makefile | 12 ++++++------
 math/gh-bc/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/math/gh-bc/Makefile b/math/gh-bc/Makefile
index 50d9191b5e9c..3ca62ee36e1d 100644
--- a/math/gh-bc/Makefile
+++ b/math/gh-bc/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		bc
-PORTVERSION=		5.3.3
+PORTVERSION=		6.0.1
 CATEGORIES=		math lang
+MASTER_SITES=		https://github.com/gavinhoward/bc/releases/download/${PORTVERSION}/
 PKGNAMEPREFIX=		gh-
 
 MAINTAINER=		se@FreeBSD.org
@@ -10,14 +11,11 @@ LICENSE=		BSD2CLAUSE MIT
 LICENSE_COMB=		multi
 LICENSE_FILE=		${WRKSRC}/LICENSE.md
 
-USES=			compiler:c11
-USE_GITHUB=		yes
-GH_ACCOUNT=		gavinhoward
-GH_TAGNAME=		eb0cd870b9
+USES=			compiler:c11 tar:xz
 
 HAS_CONFIGURE=		yes
 CONFIGURE_SCRIPT=	configure.sh
-CONFIGURE_ARGS+=	--disable-generated-tests
+CONFIGURE_ARGS+=	--predefined-build-type=BSD
 
 TEST_TARGET=		test
 
@@ -28,6 +26,8 @@ OPTIONS_RADIO=		HISTORY
 OPTIONS_RADIO_HISTORY=	LIBEDIT READLINE INTERNAL
 INTERNAL_DESC=		Command line editing via private functions
 
+INTERNAL_CONFIGURE_ON=	--enable-internal-history
+
 LIBEDIT_USES=		libedit
 LIBEDIT_CONFIGURE_ON=	--enable-editline
 
diff --git a/math/gh-bc/distinfo b/math/gh-bc/distinfo
index 571ff94945d1..0cd7bd09f73a 100644
--- a/math/gh-bc/distinfo
+++ b/math/gh-bc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1656182840
-SHA256 (gavinhoward-bc-5.3.3-eb0cd870b9_GH0.tar.gz) = 46f83e86f688aaf573b0e26759a9f29961018ed275b0ae014f90058773f0aeff
-SIZE (gavinhoward-bc-5.3.3-eb0cd870b9_GH0.tar.gz) = 1209761
+TIMESTAMP = 1659886979
+SHA256 (bc-6.0.1.tar.xz) = a37df8b9a199f6a370367432101ed6f2cc02a5521696ce3c624acb150320c453
+SIZE (bc-6.0.1.tar.xz) = 451076