ports/146320: [patch] net/p5-Net-Patricia needs p5-Socket6
Emil Mikulic
emikulic at gmail.com
Wed May 5 06:10:01 UTC 2010
>Number: 146320
>Category: ports
>Synopsis: [patch] net/p5-Net-Patricia needs p5-Socket6
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed May 05 06:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Emil Mikulic
>Release:
>Organization:
>Environment:
>Description:
net/p5-Net-Patricia needs p5-Socket6
The attached patch adds this dependency and bumps PORTREVISION.
>How-To-Repeat:
$ perl -e 'use Net::Patricia; my $pt = new Net::Patricia;'
Can't locate Socket6.pm in @INC (@INC contains: /usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at /usr/local/lib/perl5/site_perl/5.10.1/mach/Net/Patricia.pm line 33.
>Fix:
diff -Nur /usr/ports/net/p5-Net-Patricia/Makefile p5-Net-Patricia/Makefile
--- /usr/ports/net/p5-Net-Patricia/Makefile 2010-04-22 11:12:56.000000000 +1000
+++ p5-Net-Patricia/Makefile 2010-05-05 16:04:01.000000000 +1000
@@ -7,6 +7,7 @@
PORTNAME= Net-Patricia
PORTVERSION= 1.16
+PORTREVISION= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,7 +15,10 @@
MAINTAINER= clsung at FreeBSD.org
COMMENT= Perl module for fast IP address lookups
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version
+BUILD_DEPENDS= p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \
+ ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list