From owner-freebsd-ports@FreeBSD.ORG Fri Sep 17 08:36:23 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4195916A4CF for ; Fri, 17 Sep 2004 08:36:23 +0000 (GMT) Received: from mail.serva319.de (a319.de [217.160.132.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1800843D1F for ; Fri, 17 Sep 2004 08:36:22 +0000 (GMT) (envelope-from janus@area319.de) Received: (qmail 32151 invoked from network); 17 Sep 2004 08:39:54 -0000 Received: from unknown (HELO [192.168.100.60]) (janus@area319.de@[193.27.46.2]) (envelope-sender )encrypted SMTP for ; 17 Sep 2004 08:39:54 -0000 Message-ID: <414AA2FB.9080500@area319.de> Date: Fri, 17 Sep 2004 10:40:27 +0200 From: Simon Dassow User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040806) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jesper@FreeBSD.org, freebsd-ports@freebsd.org Content-Type: multipart/mixed; boundary="------------060900030007060904070201" Subject: [PATCH] net/p5-Net-SSH-Perl: fix for perl >= 5.6.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 08:36:23 -0000 This is a multi-part message in MIME format. --------------060900030007060904070201 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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). Kinds Regards, Simon P.S.: I'm not subscribed to freebsd-ports@, so please cc me in case of reply. --------------060900030007060904070201 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:31:07 2004 @@ -29,12 +29,15 @@ ${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 RUN_DEPENDS= ${BUILD_DEPENDS} FETCH_DEPENDS= ${BUILD_DEPENDS} + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${PERL_BASE}/${PERL_ARCH}/IO/Socket.pm:${PORTSDIR}/devel/p5-IO +.endif PERL_CONFIGURE= yes --------------060900030007060904070201--