summaryrefslogtreecommitdiff
path: root/strata/core
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-11 11:13:55 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-02-12 11:35:58 +0000
commit8f8df38eb9857710afd0b550cb863532b37a1593 (patch)
tree8379866519294c907c428e91c06e9d1dd6cf9c1b /strata/core
parent53af9fb64e9451d7bed88e7e97e8dc64a79af064 (diff)
downloaddefinitions-8f8df38eb9857710afd0b550cb863532b37a1593.tar.gz
Regenerate config.{guess,sub} scripts
Some packages have old config.guess and config.sub scripts which don't recognize the aarch64-linux-gnu GNU triplet. For some cases, it is enough to do a `autoreconfig -if` to update those scripts. However, this approach cannot be used because when the configure scripts are not compatible with the current automake, autoheader, aclocal and friends; or when the project doesn't use automake at all (it has Makefile.in files, but not Makefile.am files). For those cases, we copy the system config.guess and config.sub scripts installed by automake.
Diffstat (limited to 'strata/core')
-rw-r--r--strata/core/flex.morph2
-rw-r--r--strata/core/nano.morph4
-rw-r--r--strata/core/readline.morph6
3 files changed, 12 insertions, 0 deletions
diff --git a/strata/core/flex.morph b/strata/core/flex.morph
index 7ca8f538..615bf79e 100644
--- a/strata/core/flex.morph
+++ b/strata/core/flex.morph
@@ -1,5 +1,7 @@
name: flex
kind: chunk
+pre-configure-commands:
+- autoreconf -ivf
configure-commands:
- ./configure --prefix="$PREFIX"
build-commands:
diff --git a/strata/core/nano.morph b/strata/core/nano.morph
new file mode 100644
index 00000000..6a55dc2d
--- /dev/null
+++ b/strata/core/nano.morph
@@ -0,0 +1,4 @@
+name: nano
+kind: chunk
+pre-configure-commands:
+- autoreconf -ivf
diff --git a/strata/core/readline.morph b/strata/core/readline.morph
new file mode 100644
index 00000000..511e124c
--- /dev/null
+++ b/strata/core/readline.morph
@@ -0,0 +1,6 @@
+name: readline
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- cp /usr/share/automake*/config.guess support
+- cp /usr/share/automake*/config.sub support