Fix autoscan script with newer versions of Perl (escape left brace in regex)

PR:		209768
Submitted by:	mat
This commit is contained in:
Tijl Coosemans 2016-05-31 12:09:49 +00:00
parent 162e1461c4
commit cb57e6ca4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416194
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= autoconf
PORTVERSION= 2.69
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GNU
DISTNAME= autoconf-${PORTVERSION}

View file

@ -0,0 +1,11 @@
--- bin/autoscan.in.orig 2012-04-25 02:37:26 UTC
+++ bin/autoscan.in
@@ -358,7 +358,7 @@ sub scan_sh_file ($)
{
# Strip out comments and variable references.
s/#.*//;
- s/\${[^\}]*}//g;
+ s/\$\{[^\}]*}//g;
s/@[^@]*@//g;
# Tokens in the code.