Fix autoscan script with newer versions of Perl (escape left brace in regex)
PR: 209768 Submitted by: mat
This commit is contained in:
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
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= autoconf
|
||||
PORTVERSION= 2.69
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= GNU
|
||||
DISTNAME= autoconf-${PORTVERSION}
|
||||
|
|
11
devel/autoconf/files/patch-bin-autoscan.in
Normal file
11
devel/autoconf/files/patch-bin-autoscan.in
Normal 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.
|
Loading…
Reference in a new issue