grub: fix version 0.97 for automake 1.10
authorHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 27 Sep 2008 16:23:59 +0000 (16:23 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 27 Sep 2008 16:23:59 +0000 (16:23 +0000)
* add patch from Kalev Lember
* closes bug 4587
* bump PR

packages/grub/grub-0.97/.mtn2git_empty [new file with mode: 0644]
packages/grub/grub-0.97/automake-1.10.patch [new file with mode: 0644]
packages/grub/grub_0.97.bb

diff --git a/packages/grub/grub-0.97/.mtn2git_empty b/packages/grub/grub-0.97/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/grub/grub-0.97/automake-1.10.patch b/packages/grub/grub-0.97/automake-1.10.patch
new file mode 100644 (file)
index 0000000..e7c6ec0
--- /dev/null
@@ -0,0 +1,16 @@
+--- grub-0.97/configure.ac.orig
++++ grub-0.97/configure.ac
+@@ -56,12 +56,7 @@
+ AC_CHECK_TOOL(CC, gcc)
+ AC_PROG_CC
+-# We need this for older versions of Autoconf.
+-_AM_DEPENDENCIES(CC)
+-
+-dnl Because recent automake complains about AS, set it here.
+-CCAS="$CC"
+-AC_SUBST(CCAS)
++AM_PROG_AS
+ AC_ARG_WITH(binutils,
+   [  --with-binutils=DIR     search the directory DIR to find binutils])
index 028a1a1..67fca24 100644 (file)
@@ -3,9 +3,10 @@ HOMEPAGE = "http://www.gnu.org/software/grub"
 SECTION = "bootloaders"
 PRIORITY = "optional"
 RDEPENDS = "diffutils"
-PR = "r2"
+PR = "r3"
 
-SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz"
+SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz \
+           file://automake-1.10.patch;patch=1"
 
 inherit autotools