From 651d26ee02c4538aee53b0b0ad05acf2c09c4ced Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Fri, 29 Apr 2005 16:46:24 +0000 Subject: [PATCH] - remove *.orig and unbreak this port on 4.x --- textproc/p5-CSS-Tiny/Makefile | 13 ++++++++----- 1 file 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 .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