From 7c844f2feafb5bfc8be2d7e32d7261ea1be3173a Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 7 May 2004 14:06:04 +0000 Subject: [PATCH] Fix a indent issue Submitted by: alex@kapranoff.ru Forgotten by: me --- www/p5-HTML-Template-JIT/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/www/p5-HTML-Template-JIT/Makefile b/www/p5-HTML-Template-JIT/Makefile index 899ab99f6376..712f2499eec5 100644 --- a/www/p5-HTML-Template-JIT/Makefile +++ b/www/p5-HTML-Template-JIT/Makefile @@ -7,6 +7,7 @@ PORTNAME= HTML-Template-JIT PORTVERSION= 0.04 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= HTML @@ -27,13 +28,16 @@ MAN3= HTML::Template::JIT.3 HTML::Template::JIT::Compiler.3 \ .include -.if ${PERL_LEVEL} < 500600 -EXTRA_PATCHES= ${PATCHDIR}/5.005-JIT-Compiler.pm post-patch: + @${PERL} -i -pe 's/indent -kr/indent/' \ + ${WRKSRC}/JIT/Compiler.pm +.if ${PERL_LEVEL} < 500600 @${PERL} -i -pe '$$_ = "" if /warnings|5\.006/g;' \ -e 's/\bour ([^ ;]+)/use vars qw{$$1};$$1/g;' \ ${WRKSRC}/Makefile.PL ${WRKSRC}/JIT.pm \ ${WRKSRC}/JIT/Base.pm ${WRKSRC}/JIT/Compiler.pm + +EXTRA_PATCHES= ${PATCHDIR}/5.005-JIT-Compiler.pm .endif .include