svn commit: r415928 - in head: net/p5-Net-Address-Ethernet/files net/p5-Socket-Class/files www/p5-WWW-Search/files x11-toolkits/p5-Wx/files
Mathieu Arnold
mat at FreeBSD.org
Fri May 27 09:04:22 UTC 2016
Author: mat
Date: Fri May 27 09:04:20 2016
New Revision: 415928
URL: https://svnweb.freebsd.org/changeset/ports/415928
Log:
Fix building with Perl 5.25.
Unescaped left brace in regex is illegal in regex.
Sponsored by: Absolight
Added:
head/net/p5-Net-Address-Ethernet/files/
head/net/p5-Net-Address-Ethernet/files/patch-Makefile.PL (contents, props changed)
head/net/p5-Socket-Class/files/
head/net/p5-Socket-Class/files/patch-xs_sc__ssl_Makefile.PL (contents, props changed)
head/www/p5-WWW-Search/files/
head/www/p5-WWW-Search/files/patch-Makefile.PL (contents, props changed)
head/x11-toolkits/p5-Wx/files/patch-build_Wx_build_Utils.pm (contents, props changed)
Added: head/net/p5-Net-Address-Ethernet/files/patch-Makefile.PL
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/p5-Net-Address-Ethernet/files/patch-Makefile.PL Fri May 27 09:04:20 2016 (r415928)
@@ -0,0 +1,16 @@
+--- Makefile.PL.orig 2016-05-26 14:56:06 UTC
++++ Makefile.PL
+@@ -33,11 +33,11 @@ if ($ENV{MTHURN_PERL_DEV})
+ {
+ warn " EEE did not find DIRFILESEP in Makefile\n";
+ } # if
+- if ($s !~ s/(pm_to_blib\(){{\@ARGV}}/$1 . '{@ARGV}'/e)
++ if ($s !~ s/(pm_to_blib\()\{\{\@ARGV\}\}/$1 . '{@ARGV}'/e)
+ {
+ warn " EEE did not find pm_to_blib at ARGV in Makefile\n";
+ } # if
+- if ($s !~ s/(from_to\s+=>\s+){{\@ARGV}}/$1 . '{@ARGV}'/e)
++ if ($s !~ s/(from_to\s+=>\s+)\{\{\@ARGV\}\}/$1 . '{@ARGV}'/e)
+ {
+ warn " EEE did not find from_to at ARGV in Makefile\n";
+ } # if
Added: head/net/p5-Socket-Class/files/patch-xs_sc__ssl_Makefile.PL
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/p5-Socket-Class/files/patch-xs_sc__ssl_Makefile.PL Fri May 27 09:04:20 2016 (r415928)
@@ -0,0 +1,11 @@
+--- xs/sc_ssl/Makefile.PL.orig 2012-01-20 00:08:58 UTC
++++ xs/sc_ssl/Makefile.PL
+@@ -171,7 +171,7 @@ sub build_cmodule {
+ $step = 0;
+ foreach( <$fh> ) {
+ if( $step == 0 ) {
+- if( /\s*struct st_mod_sc {/ ) {
++ if( /\s*struct st_mod_sc \{/ ) {
+ $ct1 = index( $ct, '/* !include st_mod_sc */' );
+ $ct2 = substr( $ct, $ct1 + 25 );
+ $ct1 = substr( $ct, 0, $ct1 );
Added: head/www/p5-WWW-Search/files/patch-Makefile.PL
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-WWW-Search/files/patch-Makefile.PL Fri May 27 09:04:20 2016 (r415928)
@@ -0,0 +1,16 @@
+--- Makefile.PL.orig 2015-11-28 15:17:09 UTC
++++ Makefile.PL
+@@ -116,11 +116,11 @@ if (0 && $ENV{MTHURN_PERL_DEV})
+ {
+ print " EEE did not find DIRFILESEP in Makefile\n";
+ } # if
+- if ($s !~ s/(pm_to_blib\(){{\@ARGV}}/$1 . '{@ARGV}'/e)
++ if ($s !~ s/(pm_to_blib\()\{\{\@ARGV\}\}/$1 . '{@ARGV}'/e)
+ {
+ print " EEE did not find pm_to_blib at ARGV in Makefile\n";
+ } # if
+- if ($s !~ s/(from_to\s+=>\s+){{\@ARGV}}/$1 . '{@ARGV}'/e)
++ if ($s !~ s/(from_to\s+=>\s+)\{\{\@ARGV\}\}/$1 . '{@ARGV}'/e)
+ {
+ print " EEE did not find from_to at ARGV in Makefile\n";
+ } # if
Added: head/x11-toolkits/p5-Wx/files/patch-build_Wx_build_Utils.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-toolkits/p5-Wx/files/patch-build_Wx_build_Utils.pm Fri May 27 09:04:20 2016 (r415928)
@@ -0,0 +1,11 @@
+--- build/Wx/build/Utils.pm.orig 2014-03-08 13:01:15 UTC
++++ build/Wx/build/Utils.pm
+@@ -107,7 +107,7 @@ sub scan_xs($$$) {
+ m/^\s*INCLUDE:\s+(.*)$/ and $file = $1 and $arr = \@xsinclude;
+ m/^\s*INCLUDE_COMMAND:\s+.*\s(\S+\.(?:xsp?|h))\s*/ and $file = $1 and
+ $arr = \@xsinclude;
+- m/^\s*\%include{([^}]+)}\s*;\s*$/ and $file = $1 and $arr = \@xsinclude;
++ m/^\s*\%include\{([^}]+)\}\s*;\s*$/ and $file = $1 and $arr = \@xsinclude;
+
+ if( defined $file ) {
+ $file = catfile( split '/', $file );
More information about the svn-ports-head
mailing list