aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-05-06 00:30:56 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-05-06 00:30:56 +0000
commita7c62940b05f5fc75406ad8e0c61b335d50b8f01 (patch)
treec3f5c435c6690e342d0da5bb7174d2e0c1d90f3e /ftp
parent9850fb94bceff10e994ba8913aa82f98efc7d949 (diff)
downloadports-a7c62940b05f5fc75406ad8e0c61b335d50b8f01.tar.gz
ports-a7c62940b05f5fc75406ad8e0c61b335d50b8f01.zip
Unbreak on perl-5.8.x.
Notes
Notes: svn path=/head/; revision=108508
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ftpmirror/Makefile2
-rw-r--r--ftp/ftpmirror/files/patch-FTP.pm6
-rw-r--r--ftp/ftpmirror/files/patch-TCP.pm6
3 files changed, 7 insertions, 7 deletions
diff --git a/ftp/ftpmirror/Makefile b/ftp/ftpmirror/Makefile
index cb6dcbbf646c..4ce0f668495f 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 dd580e099080..fb8e8448105f 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 35eb097270da..d8ed2c572d39 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';