diff options
| author | Mathieu Arnold <mat@FreeBSD.org> | 2016-05-27 09:04:20 +0000 |
|---|---|---|
| committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-05-27 09:04:20 +0000 |
| commit | decf876ef5564d29195b878dff1164cbfd4f82b8 (patch) | |
| tree | 124f8b05f5e3e66d4f75bf7fd227ae314bfb2f16 /net | |
| parent | - Allow custom config file in rc script for both stable/devel ports (diff) | |
Fix building with Perl 5.25.
Unescaped left brace in regex is illegal in regex.
Sponsored by: Absolight
Diffstat (limited to 'net')
| -rw-r--r-- | net/p5-Net-Address-Ethernet/files/patch-Makefile.PL | 16 | ||||
| -rw-r--r-- | net/p5-Socket-Class/files/patch-xs_sc__ssl_Makefile.PL | 11 |
2 files changed, 27 insertions, 0 deletions
diff --git a/net/p5-Net-Address-Ethernet/files/patch-Makefile.PL b/net/p5-Net-Address-Ethernet/files/patch-Makefile.PL new file mode 100644 index 000000000000..3aed542d3a3c --- /dev/null +++ b/net/p5-Net-Address-Ethernet/files/patch-Makefile.PL @@ -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@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@ARGV in Makefile\n"; + } # if diff --git a/net/p5-Socket-Class/files/patch-xs_sc__ssl_Makefile.PL b/net/p5-Socket-Class/files/patch-xs_sc__ssl_Makefile.PL new file mode 100644 index 000000000000..492114f22911 --- /dev/null +++ b/net/p5-Socket-Class/files/patch-xs_sc__ssl_Makefile.PL @@ -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 ); |
