Control: tag -1 + patch

There is a mistake in the automake version detection, and so it tries to
call the tests differently, like with automake <= 1.11.

The attached patch fixes the version check.
diff --git a/debian/patches/automake-1.12 b/debian/patches/automake-1.12
index bea90c6..cd8be3e 100644
--- a/debian/patches/automake-1.12
+++ b/debian/patches/automake-1.12
@@ -21,6 +21,6 @@
  
 +# This is cruel, but the transition to parallel tests with
 +# different semantics of variables is really not nice
-+AM_CONDITIONAL(VER_AM_GE_12, test `head -n 1 Makefile.in | cut -f3 -d.` -ge 12)
++AM_CONDITIONAL(VER_AM_GE_12, test `head -n 1 Makefile.in | cut -f3 -d. | cut -f1 -d' '` -ge 12)
 +
  AC_OUTPUT

Attachment: signature.asc
Description: Digital signature

Reply via email to