Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  5 May 2010 16:08:27 +1000 (EST)
From:      Emil Mikulic <emikulic@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146320: [patch] net/p5-Net-Patricia needs p5-Socket6
Message-ID:  <20100505060827.420C65D06@ppp154-240.static.internode.on.net>
Resent-Message-ID: <201005050610.o456A17S053748@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100505060827.420C65D06>