aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-09-08 13:48:40 +0300
committerCem Keylan <cem@ckyln.com>2021-09-08 13:48:40 +0300
commit410c461aecd9dd72430b81d798e5117aa5d9b96f (patch)
treec4fa023e1a442732d156f1b307a9b9bd5acf2d74
parent0672fb41db4d0edcc41786a0a71f5c32c3549394 (diff)
downloadrepository-410c461aecd9dd72430b81d798e5117aa5d9b96f.tar.gz
binutils: fix manual pages
-rwxr-xr-xcore/binutils/build12
-rw-r--r--core/binutils/checksums1
-rw-r--r--core/binutils/sources1
-rw-r--r--core/binutils/version2
4 files changed, 12 insertions, 4 deletions
diff --git a/core/binutils/build b/core/binutils/build
index 67a1af16..5b3140f0 100755
--- a/core/binutils/build
+++ b/core/binutils/build
@@ -9,13 +9,15 @@ case ${3:-$(uname -m)} in
--host=x86_64-pc-linux-musl"
esac
-cat > makeinfo <<EOF
+cpt l -q texinfo || {
+ cat > makeinfo <<EOF
#!/bin/sh
printf 'makeinfo (GNU texinfo) 5.2\n'
EOF
-chmod +x makeinfo
-export PATH=$PATH:$PWD
+ chmod +x makeinfo
+ export PATH=$PATH:$PWD
+}
# Word splitting is intentional here.
# shellcheck disable=2086
@@ -34,3 +36,7 @@ export PATH=$PATH:$PWD
make
make DESTDIR="$1" install
+
+# Manual pages are empty for some reason in binutils-2.37, so
+# we are installing the manual pages from 2.36.1
+clman -d "$1" man/*.1
diff --git a/core/binutils/checksums b/core/binutils/checksums
index 99f14086..7e33d13c 100644
--- a/core/binutils/checksums
+++ b/core/binutils/checksums
@@ -1 +1,2 @@
820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c binutils-2.37.tar.xz
+f08e2f527ebf2c9ea5af49d3bb39ad659f1845363e35f23c84b8b0840c0b637e binutils-man-2.36.1.tar.xz
diff --git a/core/binutils/sources b/core/binutils/sources
index a0a31ef3..38a7aa0c 100644
--- a/core/binutils/sources
+++ b/core/binutils/sources
@@ -1 +1,2 @@
https://ftp.gnu.org/gnu/binutils/binutils-2.37.tar.xz
+https://dl.carbslinux.org/distfiles/binutils-man-2.36.1.tar.xz man
diff --git a/core/binutils/version b/core/binutils/version
index c304d360..a3a0f409 100644
--- a/core/binutils/version
+++ b/core/binutils/version
@@ -1 +1 @@
-2.37 1
+2.37 2