1
0
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:
Jun Kuriyama 2004-05-06 00:30:56 +00:00
parent 9850fb94bc
commit a7c62940b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108508
3 changed files with 7 additions and 7 deletions

View File

@ -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/

View File

@ -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';

View File

@ -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';