commit: 070e9dacc5cb8f10a92d6af094f32006d3a0912e
parent f4d39516d1ee276c1c58ae7c9b392d28123e5054
Author: fosslinux <fosslinux@aussies.space>
Date: Thu, 2 Feb 2023 15:36:06 +1100
Fix binutils 2.14 install
Programs shouldn't install to outdated usr/<target> location
Diffstat:
2 files changed, 44 insertions(+), 1 deletion(-)
diff --git a/sysa/SHA256SUMS.pkgs b/sysa/SHA256SUMS.pkgs
@@ -26,7 +26,7 @@ b2eab85c4a22060cc18945f6cb24cdf928fee370fff3fe12482e866a1cace586 automake-1.6.3
75c5f2c2f636c4d763eef650ffdf638ff372444dce74e5c9bfe7c5ec824c2a26 automake-1.8.5_0.tar.bz2
42fe9a42c457193e7bebf31b71eb28bc71e179ed9f2c78be242a5f6b03bbbbfe automake-1.9.6_0.tar.bz2
b2729f1d776d26fbf7781aeeb569e2550c484fb9d2722dd207542480de0d4879 bash-5.1_0.tar.bz2
-c336e6ce463024af39e9db954bf781bee3d80c2c39d76f491b5261288485b77f binutils-2.14_0.tar.bz2
+8c7d5132e7ea88505848c188ba18bab4af81c7fecc41af989ef7a10ccaa88b15 binutils-2.14_0.tar.bz2
6d402a10480a17cd5047743c4c3e9445eaf24b6d678b3a3df45f32ecf7893c7f binutils-2.38_0.tar.bz2
78035718b7ad659ba83f120405ad591f8ab0afb01f09805da7b3ab793d22a12c bison-2.3_0.tar.bz2
87dae598915deabe95a4ee75ec6cfed3a6e6da1a655c3ad90ee60ec07a7d87fa bison-3.4.1_0.tar.bz2
diff --git a/sysa/binutils-2.14/patches/tooldir.patch b/sysa/binutils-2.14/patches/tooldir.patch
@@ -0,0 +1,43 @@
+SPDX-FileCopyrightText: 2023 fosslinux <fosslinux@aussies.space>
+
+SPDX-License-Identifier: GPL-2.0-or-later
+
+usr/<target> is an old, obselete location. Patch it out - we don't
+want things there.
+
+diff --color -ru binutils/Makefile.am binutils/Makefile.am
+--- binutils/Makefile.am 2023-02-01 16:50:53.438231898 +1100
++++ binutils/Makefile.am 2023-02-01 16:51:30.269712861 +1100
+@@ -7,7 +7,7 @@
+
+ SUBDIRS = doc po
+
+-tooldir = $(exec_prefix)/$(target_alias)
++tooldir = $(exec_prefix)
+
+ ## These aren't set by automake, because they appear in
+ ## bfd/acinclude.m4, which is included by binutils/acinclude.m4, and
+diff --color -ru gas/Makefile.am gas/Makefile.am
+--- gas/Makefile.am 2023-02-01 16:50:53.494232626 +1100
++++ gas/Makefile.am 2023-02-01 16:51:33.857759722 +1100
+@@ -7,7 +7,7 @@
+
+ SUBDIRS = doc po
+
+-tooldir = $(exec_prefix)/$(target_alias)
++tooldir = $(exec_prefix)
+
+ YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L../bison/bison ; else echo @YACC@ ; fi`
+ LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo @LEX@ ; fi`
+diff --color -ru ld/Makefile.am ld/Makefile.am
+--- ld/Makefile.am 2023-02-01 16:50:53.555233423 +1100
++++ ld/Makefile.am 2023-02-01 16:51:38.506820435 +1100
+@@ -7,7 +7,7 @@
+
+ SUBDIRS = po
+
+-tooldir = $(exec_prefix)/$(target_alias)
++tooldir = $(exec_prefix)
+
+ YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
+ YFLAGS = -d