mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Unbreak on perl-5.8.x.
This commit is contained in:
parent
9850fb94bc
commit
a7c62940b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108508
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= ftpmirror
|
||||
PORTVERSION= 1.96
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= ftp ipv6
|
||||
MASTER_SITES= ftp://ftp.intec.co.jp/pub/utils/ftpmirror/beta/
|
||||
|
||||
|
@ -10,9 +10,9 @@ diff -u -r1.1.1.2 -r1.6
|
||||
|
||||
use Carp;
|
||||
use Socket;
|
||||
+BEGIN {
|
||||
+ eval 'use Socket6' unless (eval '&AF_INET6'); # IPv6 patched Perl
|
||||
+}
|
||||
+
|
||||
+use Socket6;
|
||||
+
|
||||
use Fan::TCP;
|
||||
use AutoLoader 'AUTOLOAD';
|
||||
|
||||
|
@ -16,9 +16,9 @@ diff -u -r1.1.1.1 -r1.12
|
||||
|
||||
use Carp;
|
||||
use Socket;
|
||||
+BEGIN {
|
||||
+ eval 'use Socket6' unless (eval '&AF_INET6'); # IPv6 patched Perl
|
||||
+}
|
||||
+
|
||||
+use Socket6;
|
||||
+
|
||||
use AutoLoader 'AUTOLOAD';
|
||||
|
||||
$VERSION = '0.03';
|
||||
|
Loading…
Reference in New Issue
Block a user