[PATCH] net/p5-Net-SSH-Perl: fix for perl >= 5.6.0
Simon Dassow
janus at area319.de
Fri Sep 17 01:36:23 PDT 2004
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.
-------------- next part --------------
--- 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
More information about the freebsd-ports
mailing list