summaryrefslogtreecommitdiff
path: root/math/gh-bc/files/patch-scripts_locale__install.sh
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2023-02-05 23:28:23 +0100
committerStefan Eßer <se@FreeBSD.org>2023-02-05 23:32:01 +0100
commit002fa656dce6064f7cada9f73911c4531375a41e (patch)
tree8544b49abe2725690848e142e6e3891de88952a5 /math/gh-bc/files/patch-scripts_locale__install.sh
parentcad/py-cocotb: Add test dependency (diff)
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
Diffstat (limited to 'math/gh-bc/files/patch-scripts_locale__install.sh')
-rw-r--r--math/gh-bc/files/patch-scripts_locale__install.sh14
1 files changed, 7 insertions, 7 deletions
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