1 === modified file 'intltool-update.in'
2 --- intltool-update.in 2014-05-14 02:15:53 +0000
3 +++ intltool-update.in 2016-01-19 19:06:54 +0000
8 - if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/)
9 + if ($str =~ /^(.*)\$\{?([A-Z_]+)}?(.*)$/)
13 @@ -1190,10 +1190,10 @@
15 $version =~ s/\(+$//g;
17 - $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/);
18 - $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/);
19 - $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/);
20 - $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/);
21 + $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/);
22 + $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/);
23 + $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/);
24 + $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/);
27 if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)[,]?([^,\)]+)?/m)
28 @@ -1219,11 +1219,11 @@
29 $version =~ s/\(+$//g;
30 $bugurl =~ s/\(+$//g if (defined $bugurl);
32 - $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/);
33 - $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/);
34 - $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/);
35 - $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/);
36 - $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\${?\w+}?/);
37 + $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\$\{?AC_PACKAGE_NAME}?/);
38 + $varhash{"PACKAGE"} = $name if (not $name =~ /\$\{?PACKAGE}?/);
39 + $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\$\{?AC_PACKAGE_VERSION}?/);
40 + $varhash{"VERSION"} = $version if (not $name =~ /\$\{?VERSION}?/);
41 + $varhash{"PACKAGE_BUGREPORT"} = $bugurl if (defined $bugurl and not $bugurl =~ /\$\{?\w+}?/);
44 # \s makes this not work, why?