Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2004 10:56:59 +0200
From:      Simon Dassow <janus@area319.de>
To:        freebsd-ports@freebsd.org, jesper@FreeBSD.org
Subject:   Re: [PATCH] net/p5-Net-SSH-Perl: fix for perl >= 5.6.0
Message-ID:  <414AA6DB.9000902@area319.de>
In-Reply-To: <414AA2FB.9080500@area319.de>
References:  <414AA2FB.9080500@area319.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------020902010607040908070805
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Simon Dassow wrote:
> Hi list/maintainer(s),
> i tried to install p5-Net-SSH-Perl and noticed an error:
> 
> ===>  p5-IO-1.20 This module is already included in perl 5.6.x and later..
> *** Error code 1
> 
> This comes from the depency to p5-IO as you can see.
> Patch is attached (simply moved the p5-IO depency into an ``.if 
> ${PERL_LEVEL}'' section).

Damn it,
here the working version. Sorry for that.

Regards,
Simon

P.S.: Now subscribed :-)

--------------020902010607040908070805
Content-Type: text/plain;
 name="p5-Net-SSH-Perl.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="p5-Net-SSH-Perl.patch"

--- Makefile.orig	Fri Sep 17 10:29:24 2004
+++ Makefile	Fri Sep 17 10:54:04 2004
@@ -29,7 +29,6 @@
 		${PERL_BASE}/Convert/PEM.pm:${PORTSDIR}/converters/p5-Convert-PEM \
 		${PERL_BASE}/Digest/BubbleBabble.pm:${PORTSDIR}/security/p5-Digest-BubbleBabble \
 		${PERL_BASE}/Crypt/RSA.pm:${PORTSDIR}/security/p5-Crypt-RSA \
-		${PERL_BASE}/${PERL_ARCH}/IO/Socket.pm:${PORTSDIR}/devel/p5-IO \
 		${PERL_BASE}/${PERL_ARCH}/String/CRC32.pm:${PORTSDIR}/devel/p5-String-CRC32 \
 		${PERL_BASE}/${PERL_ARCH}/Math/GMP.pm:${PORTSDIR}/math/p5-Math-GMP \
 		${PERL_BASE}/${PERL_ARCH}/Crypt/IDEA.pm:${PORTSDIR}/security/p5-Crypt-IDEA
@@ -73,5 +72,11 @@
 		Net::SSH::Perl::AuthMgr.3 \
 		Net::SSH::Perl::Cipher::DES3.3 \
 		Net::SSH::Perl::Channel.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+BUILD_DEPENDS+=	${PERL_BASE}/${PERL_ARCH}/IO/Socket.pm:${PORTSDIR}/devel/p5-IO
+.endif
 
 .include <bsd.port.mk>

--------------020902010607040908070805--



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