Skip to content

Commit

Permalink
math/gh-bc: update to version 6.2.4
Browse files Browse the repository at this point in the history
This update changes the URL of the upstream repository in the
documentation to:

	       https://git.gavinhoward.com/gavin/bc
  • Loading branch information
stesser committed Feb 5, 2023
1 parent b8bce0b commit 002fa65
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
4 changes: 2 additions & 2 deletions 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
Expand Down
6 changes: 3 additions & 3 deletions 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
10 changes: 10 additions & 0 deletions 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")

14 changes: 7 additions & 7 deletions 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")
Expand All @@ -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

0 comments on commit 002fa65

Please sign in to comment.