aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2023-02-05 22:28:23 +0000
committerStefan Eßer <se@FreeBSD.org>2023-02-05 22:32:01 +0000
commit002fa656dce6064f7cada9f73911c4531375a41e (patch)
tree8544b49abe2725690848e142e6e3891de88952a5
parentb8bce0b01a51492bac10f59226985a3ea2f0f61f (diff)
downloadports-002fa656dce6064f7cada9f73911c4531375a41e.tar.gz
ports-002fa656dce6064f7cada9f73911c4531375a41e.zip
math/gh-bc: update to version 6.2.4
This update changes the URL of the upstream repository in the documentation to: https://git.gavinhoward.com/gavin/bc
-rw-r--r--math/gh-bc/Makefile4
-rw-r--r--math/gh-bc/distinfo6
-rw-r--r--math/gh-bc/files/patch-gen_strgen.sh10
-rw-r--r--math/gh-bc/files/patch-scripts_locale__install.sh14
4 files changed, 22 insertions, 12 deletions
diff --git a/math/gh-bc/Makefile b/math/gh-bc/Makefile
index 06d05ca64cc3..b4b832082c10 100644
--- a/math/gh-bc/Makefile
+++ b/math/gh-bc/Makefile
@@ -1,12 +1,12 @@
PORTNAME= bc
-PORTVERSION= 6.2.2
+PORTVERSION= 6.2.4
CATEGORIES= math lang
MASTER_SITES= https://github.com/gavinhoward/bc/releases/download/${PORTVERSION}/
PKGNAMEPREFIX= gh-
MAINTAINER= se@FreeBSD.org
COMMENT= GNU compatible bc/dc calculator
-WWW= https://git.yzena.com/gavin/bc
+WWW= https://git.gavinhoward.com/gavin/bc
LICENSE= BSD2CLAUSE MIT
LICENSE_COMB= multi
diff --git a/math/gh-bc/distinfo b/math/gh-bc/distinfo
index cd420e9e8c32..8c5951273fc7 100644
--- a/math/gh-bc/distinfo
+++ b/math/gh-bc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674331624
-SHA256 (bc-6.2.2.tar.xz) = 5b6fe23b720ab898c9c9c9cbdc83e124791b0b575005ec91a63175d3b69b90f2
-SIZE (bc-6.2.2.tar.xz) = 456672
+TIMESTAMP = 1675634839
+SHA256 (bc-6.2.4.tar.xz) = 2b9f712e1e02473ca0e01979dd026e818dafc169a3cf63887d91bdaafeb812b5
+SIZE (bc-6.2.4.tar.xz) = 457272
diff --git a/math/gh-bc/files/patch-gen_strgen.sh b/math/gh-bc/files/patch-gen_strgen.sh
new file mode 100644
index 000000000000..f74536abb160
--- /dev/null
+++ b/math/gh-bc/files/patch-gen_strgen.sh
@@ -0,0 +1,10 @@
+--- gen/strgen.sh.orig 2023-02-02 08:17:32 UTC
++++ gen/strgen.sh
+@@ -62,7 +62,6 @@ remove_tabs="$7"
+ label="$5"
+ define="$6"
+ remove_tabs="$7"
+-check_bool_arg "$remove_tabs"
+
+ tmpinput=$(mktemp -t "${input##*/}_XXXXXX")
+
diff --git a/math/gh-bc/files/patch-scripts_locale__install.sh b/math/gh-bc/files/patch-scripts_locale__install.sh
index 4d452bd0b101..b3587849ec51 100644
--- a/math/gh-bc/files/patch-scripts_locale__install.sh
+++ b/math/gh-bc/files/patch-scripts_locale__install.sh
@@ -1,14 +1,14 @@
---- scripts/locale_install.sh.orig 2021-06-28 18:10:45 UTC
+--- scripts/locale_install.sh.orig 2023-02-02 08:17:33 UTC
+++ scripts/locale_install.sh
-@@ -243,6 +243,7 @@ for file in $locales_dir/*.msg; do
+@@ -246,6 +246,7 @@ for file in $locales_dir/*.msg; do
# Generate the proper location for the cat file.
loc=$(gen_nlspath "$destdir/$nlspath" "$locale" "$main_exec")
+ echo gencatfile "$loc" "$file"
gencatfile "$loc" "$file"
- done
-@@ -282,8 +283,6 @@ for file in $locales_dir/*.msg; do
+ printf 'done\n'
+@@ -289,8 +290,6 @@ for file in $locales_dir/*.msg; do
linkdir=$(dirname "$file")
locale=$(basename "$link" .msg)
linksrc=$(gen_nlspath "$nlspath" "$locale" "$main_exec")
@@ -17,13 +17,13 @@
# If the target file doesn't exist (because it's for a locale that is
# not installed), generate it anyway. It's easier this way.
-@@ -293,7 +292,8 @@ for file in $locales_dir/*.msg; do
+@@ -300,7 +299,8 @@ for file in $locales_dir/*.msg; do
# Finally, symlink to the install of the generated cat file that
# corresponds to the correct msg file.
- ln -fs "$rel" "$loc"
+ echo ln "$linksrc" "$loc"
+ ln "$linksrc" "$loc"
- fi
- done
+ printf 'done\n'
+ fi