From: Fredrik Fornwall Date: Sun, 29 Apr 2018 21:48:19 +0000 (+0200) Subject: flex: Patch Makefile.in instead of Makefile.am X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/1b60db492de558cd5ca09a5911a64f84761e3ab2 flex: Patch Makefile.in instead of Makefile.am This avoids the following error when building under ubuntu 18.04 which has a never version of automake: configure.ac:31: error: version mismatch. This is Automake 1.15.1, configure.ac:31: but the definition used by this AM_INIT_AUTOMAKE configure.ac:31: comes from Automake 1.15. You should recreate configure.ac:31: aclocal.m4 with aclocal and run automake again. --- diff --git a/packages/flex/Makefile.am.patch b/packages/flex/Makefile.am.patch deleted file mode 100644 index 55b9af94..00000000 --- a/packages/flex/Makefile.am.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -u -r ../flex-2.6.0/Makefile.am ./Makefile.am ---- ../flex-2.6.0/Makefile.am 2015-11-10 17:55:38.000000000 -0500 -+++ ./Makefile.am 2015-12-27 06:36:29.059725071 -0500 -@@ -53,7 +53,6 @@ - doc \ - examples \ - po \ -- tests \ - tools - - # Create the ChangeLog, but only if we're inside a git working directory diff --git a/packages/flex/Makefile.in.patch b/packages/flex/Makefile.in.patch new file mode 100644 index 00000000..08b51a33 --- /dev/null +++ b/packages/flex/Makefile.in.patch @@ -0,0 +1,11 @@ +diff -u -r ../flex-2.6.4/Makefile.in ./Makefile.in +--- ../flex-2.6.4/Makefile.in 2017-05-06 16:49:09.000000000 +0200 ++++ ./Makefile.in 2018-04-29 23:46:48.128733975 +0200 +@@ -453,7 +453,6 @@ + doc \ + examples \ + po \ +- tests \ + tools + + all: all-recursive