Date: Tue, 26 May 2015 19:22:49 +0000 (UTC) From: Christian Weisgerber <naddy@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r387512 - in head/devel/automake14: . files Message-ID: <201505261922.t4QJMnSn033431@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: naddy Date: Tue May 26 19:22:48 2015 New Revision: 387512 URL: https://svnweb.freebsd.org/changeset/ports/387512 Log: Fix for perl 5.20, which has dropped the "do $subr()" construct. PR: 200464 Reviewed by: tijl Added: head/devel/automake14/files/patch-automake.in (contents, props changed) Modified: head/devel/automake14/Makefile Modified: head/devel/automake14/Makefile ============================================================================== --- head/devel/automake14/Makefile Tue May 26 18:50:09 2015 (r387511) +++ head/devel/automake14/Makefile Tue May 26 19:22:48 2015 (r387512) @@ -3,7 +3,7 @@ PORTNAME= automake PORTVERSION= 1.4.6 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= devel MASTER_SITES= GNU PKGNAMESUFFIX= 14 Added: head/devel/automake14/files/patch-automake.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/automake14/files/patch-automake.in Tue May 26 19:22:48 2015 (r387512) @@ -0,0 +1,20 @@ +--- automake.in.orig 2002-07-27 20:55:58 UTC ++++ automake.in +@@ -983,7 +983,7 @@ sub finish_languages + + # Compute the function name of the finisher and then call it. + $name = 'lang_' . $lang . '_finish'; +- do $name (); ++ &$name (); + } + + # If the project is entirely C++ or entirely Fortran 77, don't +@@ -1144,7 +1144,7 @@ sub handle_single_transform_list + # Found the language, so see what it says. + local ($subr) = 'lang_' . $lang . '_rewrite'; + # Note: computed subr call. +- local ($r) = do $subr ($base, $extension); ++ local ($r) = &$subr ($base, $extension); + # Skip this entry if we were asked not to process it. + next if ! $r; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505261922.t4QJMnSn033431>