Bug 66351 - New port www/p5-HTML-Template-JIT
Summary: New port www/p5-HTML-Template-JIT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-07 10:00 UTC by Alex Kapranoff
Modified: 2004-05-07 15:00 UTC (History)
0 users

See Also:


Attachments
file.shar (3.46 KB, text/plain)
2004-05-07 10:00 UTC, Alex Kapranoff
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Kapranoff 2004-05-07 10:00:41 UTC

    
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2004-05-07 10:52:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mat

Take this
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2004-05-07 12:13:27 UTC
State Changed
From-To: open->closed

Port added, thanks :-) 
ps: I made it work for 5.005
Comment 3 Alex Kapranoff 2004-05-07 14:48:22 UTC
* Mathieu Arnold <mat@FreeBSD.org> [May 07 2004, 15:13]:
> Synopsis: New port www/p5-HTML-Template-JIT
> 
> State-Changed-From-To: open->closed
> State-Changed-By: mat
> State-Changed-When: Fri May 7 04:13:27 PDT 2004
> State-Changed-Why: 
> Port added, thanks :-)
> ps: I made it work for 5.005

Way too cool :) I thought it'd be hard.
Could you please commit this little patch to work around indent
incompatibility.

--- /usr/ports/www/p5-HTML-Template-JIT/Makefile	Fri May  7 15:12:38 2004
+++ ./Makefile	Fri May  7 17:22:25 2004
@@ -27,13 +27,17 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${PERL_LEVEL} < 500600
-EXTRA_PATCHES=	${PATCHDIR}/5.005-JIT-Compiler.pm
 post-patch:
+	@${PERL} -i -pe '-e 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
+	@${RM} ${WRKSRC}/JIT/Compiler.pm.orig
+
+EXTRA_PATCHES=	${PATCHDIR}/5.005-JIT-Compiler.pm
 .endif
 
 .include <bsd.port.post.mk>
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2004-05-07 14:50:39 UTC
+-le 07/05/2004 17:48 +0400, Alex Kapranoff a dit :
| * Mathieu Arnold <mat@FreeBSD.org> [May 07 2004, 15:13]:
|> Synopsis: New port www/p5-HTML-Template-JIT
|> 
|> State-Changed-From-To: open->closed
|> State-Changed-By: mat
|> State-Changed-When: Fri May 7 04:13:27 PDT 2004
|> State-Changed-Why: 
|> Port added, thanks :-)
|> ps: I made it work for 5.005
| 
| Way too cool :) I thought it'd be hard.
| Could you please commit this little patch to work around indent
| incompatibility.

Oh, yeah, I knew I was forgetting something when I committed it :-)

-- 
Mathieu Arnold