system-tools-backends: don't use build machine's automake-1.7
authorRoderick Taylor <myopiate@gmail.com>
Fri, 4 Mar 2011 09:04:53 +0000 (09:04 +0000)
committerPhilip Balister <philip@balister.org>
Fri, 4 Mar 2011 03:07:09 +0000 (22:07 -0500)
* package patch to pretend that automake is missing.

Signed-off-by: Roderick Taylor <myopiate@gmail.com>
Acked-by: Philip Balister <philip@balister.org>
Signed-off-by: Philip Balister <philip@balister.org>
recipes/gnome/system-tools-backends-2.10.1/dont-automake.patch [new file with mode: 0644]
recipes/gnome/system-tools-backends_2.10.1.bb

diff --git a/recipes/gnome/system-tools-backends-2.10.1/dont-automake.patch b/recipes/gnome/system-tools-backends-2.10.1/dont-automake.patch
new file mode 100644 (file)
index 0000000..a9cea79
--- /dev/null
@@ -0,0 +1,21 @@
+Index: system-tools-backends-2.10.1/missing
+===================================================================
+--- system-tools-backends-2.10.1.orig/missing
++++ system-tools-backends-2.10.1/missing
+@@ -140,16 +140,6 @@ WARNING: \`$1' is missing on your system
+     ;;
+   automake*)
+-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
+-       # We have it, but it failed.
+-       exit 1
+-    fi
+-
+-    echo 1>&2 "\
+-WARNING: \`$1' is missing on your system.  You should only need it if
+-         you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
+-         You might want to install the \`Automake' and \`Perl' packages.
+-         Grab them from any GNU archive site."
+     find . -type f -name Makefile.am -print |
+          sed 's/\.am$/.in/' |
+          while read f; do touch "$f"; done
index 75dfda9..bac0a9c 100644 (file)
@@ -16,6 +16,7 @@ SRC_URI[archive.sha256sum] = "0c1cfdf5f0550c0ccacbbc4f00ed059ab9ea483d48138132db
 
 SRC_URI += " \
             file://system-tools-backends \
+           file://dont-automake.patch \
            "
 
 SRC_URI_append_angstrom = " \