automake: Add patch for perl 5.24 compatibility

This commit is contained in:
Fredrik Fornwall 2017-02-25 21:29:42 +01:00
parent eb43891116
commit 3bf8dead7c
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,21 @@
From: Matthias Klose <doko@ubuntu.com>
Date: Sat, 13 Feb 2016 13:44:56 -0500
Subject: Fix testsuite failure, caused by perl warnings
---
bin/automake.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/automake.in b/bin/automake.in
index eedc8bc..a679d16 100644
--- a/bin/automake.in
+++ b/bin/automake.in
@@ -3878,7 +3878,7 @@ sub substitute_ac_subst_variables_worker
sub substitute_ac_subst_variables
{
my ($text) = @_;
- $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
+ $text =~ s/\$\{([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker ($1)/ge;
return $text;
}

View File

@ -1,6 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://www.gnu.org/software/automake/
TERMUX_PKG_DESCRIPTION="Tool for automatically generating Makefile.in files"
TERMUX_PKG_VERSION=1.15
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/automake/automake-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="autoconf"
TERMUX_PKG_PLATFORM_INDEPENDENT=yes