Bug 64256

Summary: [patch] irc/p5-IRC: does not work with base perl on -STABLE
Product: Ports & Packages Reporter: stolz <stolz>
Component: Individual Port(s)Assignee: Chris D.Faulhaber <jedgar>
Status: Closed FIXED    
Severity: Affects Only Me CC: jedgar
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
p5-IRC none

Description stolz 2004-03-14 11:30:10 UTC
p5-IRC doesn't seem to work with base-perl (5.005) on -STABLE although
CPAN claims that it should.

This breaks e.g. the nethirc-port which tries to run the test shown below.

It looks like you're supposed to simply 'use IO::Socket;' to get IO::Socket::INET
with our perl. Unluckily, I don't know how to conduct a more functional test.

Fix: The following patch-file might or might not help:
How-To-Repeat: This is perl, version 5.005_03 built for i386-freebsd

p5-IRC@menelaos [12:20:49]> perl -MNet::IRC -e0
Can't locate IO/Socket/INET.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 57.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/Net/IRC/Connection.pm line 57.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/Net/IRC.pm line 21.
BEGIN failed--compilation aborted.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-03-14 11:32:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jedgar

Over to maintainer.
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2004-04-30 15:18:58 UTC
State Changed
From-To: open->closed

Fixed by mat@ after timeout.