diff options
Diffstat (limited to 'textproc/p5-CSS-Tiny')
-rw-r--r-- | textproc/p5-CSS-Tiny/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/textproc/p5-CSS-Tiny/Makefile b/textproc/p5-CSS-Tiny/Makefile index 8a2733aca4fa..3de781f9deaf 100644 --- a/textproc/p5-CSS-Tiny/Makefile +++ b/textproc/p5-CSS-Tiny/Makefile @@ -18,11 +18,6 @@ COMMENT= Read/Write .css files with as little code as possible PERL_CONFIGURE= yes MAN3= CSS::Tiny.3 -post-patch: - @${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm - @${PERL} -pi -e '$$_="" if /AutoInstall/' ${WRKSRC}/MANIFEST - @${PERL} -pi -e '$$_="" if /Test::More|auto_install/' ${WRKSRC}/Makefile.PL - .include <bsd.port.pre.mk> .if ${PERL_LEVEL} <= 500503 @@ -34,4 +29,12 @@ BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec .endif +post-patch: + @${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm + @${PERL} -pi -e '$$_="" if /AutoInstall/' ${WRKSRC}/MANIFEST + @${PERL} -pi -e '$$_="" if /Test::More|auto_install/' ${WRKSRC}/Makefile.PL +.if ${PERL_LEVEL} <= 500503 + @${RM} ${WRKSRC}/lib/CSS/Tiny.pm.orig +.endif + .include <bsd.port.post.mk> |