diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2004-05-06 00:30:56 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2004-05-06 00:30:56 +0000 |
commit | 8f34bbb1570784c22f4846a9b0d8d71a0ffefe96 (patch) | |
tree | b86ad0c0e82087ad5dcd495b2c9160908f311d54 /ftp/ftpmirror | |
parent | 4ecc4bc524d15398d3e0a1dcc0e2ec8c5fe08481 (diff) | |
download | FreeBSD-ports-8f34bbb1570784c22f4846a9b0d8d71a0ffefe96.zip FreeBSD-ports-8f34bbb1570784c22f4846a9b0d8d71a0ffefe96.tar.gz |
Unbreak on perl-5.8.x.
Diffstat (limited to 'ftp/ftpmirror')
-rw-r--r-- | ftp/ftpmirror/Makefile | 2 | ||||
-rw-r--r-- | ftp/ftpmirror/files/patch-FTP.pm | 6 | ||||
-rw-r--r-- | ftp/ftpmirror/files/patch-TCP.pm | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ftp/ftpmirror/Makefile b/ftp/ftpmirror/Makefile index cb6dcbbf..4ce0f66 100644 --- a/ftp/ftpmirror/Makefile +++ b/ftp/ftpmirror/Makefile @@ -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/ diff --git a/ftp/ftpmirror/files/patch-FTP.pm b/ftp/ftpmirror/files/patch-FTP.pm index dd580e0..fb8e844 100644 --- a/ftp/ftpmirror/files/patch-FTP.pm +++ b/ftp/ftpmirror/files/patch-FTP.pm @@ -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'; diff --git a/ftp/ftpmirror/files/patch-TCP.pm b/ftp/ftpmirror/files/patch-TCP.pm index 35eb097..d8ed2c5 100644 --- a/ftp/ftpmirror/files/patch-TCP.pm +++ b/ftp/ftpmirror/files/patch-TCP.pm @@ -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'; |