[Midnightbsd-cvs] mports: Makefile: with perl 5.10, , don't require Compress:Zlib port
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Oct 13 13:49:38 EDT 2008
Log Message:
-----------
with perl 5.10,, don't require Compress:Zlib port
Modified Files:
--------------
mports/net/p5-SOAP-Lite:
Makefile (r1.1 -> r1.2)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net/p5-SOAP-Lite/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L net/p5-SOAP-Lite/Makefile -L net/p5-SOAP-Lite/Makefile -u -r1.1 -r1.2
--- net/p5-SOAP-Lite/Makefile
+++ net/p5-SOAP-Lite/Makefile
@@ -17,7 +17,6 @@
RUN_DEPENDS= ${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite \
${SITE_PERL}/MIME/Tools.pm:${PORTSDIR}/mail/p5-MIME-Tools \
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
- ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \
${SITE_PERL}/${PERL_ARCH}/Crypt/SSLeay.pm:${PORTSDIR}/security/p5-Crypt-SSLeay \
${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \
${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
@@ -71,4 +70,10 @@
@${REINPLACE_CMD} -i '' -e 's|^#!.*perl|#!${PERL}|' \
${WRKSRC}/bin/* ${WRKSRC}/t/*
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+= ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
+.endif
+
+.include <bsd.port.post.mk>
More information about the Midnightbsd-cvs
mailing list