summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/01_pass-some-dirs-to-child-makes.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/01_pass-some-dirs-to-child-makes.patch b/patches/01_pass-some-dirs-to-child-makes.patch
new file mode 100644
index 0000000..58637da
--- /dev/null
+++ b/patches/01_pass-some-dirs-to-child-makes.patch
@@ -0,0 +1,24 @@
+Description: Pass some dir paths to child makes
+ Some paths that we want to change (for FHS sanity and/or multiarch hackery) are
+ hardcoded in the configure scripts and makefiles.
+ .
+ If we just get the top-level makefile to pass them to the child make processes,
+ we can simply set these path macros and call make once.
+ .
+ See `README` for a possible alternative solution.
+From: "P. J. McDermott" <pjm@nac.net>
+
+diff -Naur src.orig/Makefile.in src/Makefile.in
+--- src.orig/Makefile.in 2011-11-21 06:56:20.000000000 -0500
++++ src/Makefile.in 2012-11-09 23:21:01.494841050 -0500
+@@ -710,7 +710,10 @@
+ "sharedstatedir=$(sharedstatedir)" \
+ "sysconfdir=$(sysconfdir)" \
+ "tooldir=$(tooldir)" \
++ "scriptdir=$(scriptdir)" \
+ "build_tooldir=$(build_tooldir)" \
++ "bfdlibdir=$(bfdlibdir)" \
++ "bfdincludedir=$(bfdincludedir)" \
+ "target_alias=$(target_alias)" \
+ "AWK=$(AWK)" \
+ "BISON=$(BISON)" \