Index: Makefile =================================================================== RCS file: /home/pcvs/ports/archivers/p5-Compress-LZW/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 7 Aug 2006 06:53:51 -0000 1.2 +++ Makefile 12 Sep 2006 02:01:36 -0000 @@ -7,6 +7,7 @@ PORTNAME= Compress-LZW PORTVERSION= 0.01 +PORTREVISION= 1 CATEGORIES= archivers perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Compress @@ -19,7 +20,16 @@ MAN3= Compress::LZW.3 +.include + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +.endif + post-patch: ${PERL} -pi -e 's/\@hattmoward/\\\@hattmoward/' ${WRKSRC}/Makefile.PL +.if ${PERL_LEVEL} < 500600 + ${REINPLACE_CMD} -e '/warnings/d' ${WRKSRC}/* +.endif -.include +.include