Bug 86157 - New port: www/p5-HTML-Template-HashWrapper use HTML::Template associate via hash refs
Summary: New port: www/p5-HTML-Template-HashWrapper use HTML::Template associate via h...
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: Lars Thegler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 14:10 UTC by hideo
Modified: 2005-09-15 19:41 UTC (History)
0 users

See Also:


Attachments
p5-HTML-Template-HashWrapper (2.98 KB, text/plain)
2005-09-15 14:10 UTC, hideo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description hideo 2005-09-15 14:10:08 UTC
A module that provides an easy way to use the associate functionality from HTML::Template
via hash references.
Comment 1 Lars Thegler freebsd_committer freebsd_triage 2005-09-15 15:31:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lth

I'll handle this.
Comment 2 Lars Thegler freebsd_committer freebsd_triage 2005-09-15 15:32:32 UTC
State Changed
From-To: open->feedback

This port doesn't work with perl 5.6.x. Could you try to patch it or mark it IGNORE?
Comment 3 hideo 2005-09-15 19:03:32 UTC
Yep, let's just require perl > 5.8:

diff -ruN p5-HTML-Template-HashWrapper-1.3/Makefile p5-HTML-Template-HashWrapper-1.3-perl5.8/Makefile
--- p5-HTML-Template-HashWrapper-1.3/Makefile   Thu Sep 15 10:12:36 2005
+++ p5-HTML-Template-HashWrapper-1.3-perl5.8/Makefile   Thu Sep 15 10:14:02 2005
@@ -24,10 +24,8 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${PERL_LEVEL} < 500600
-post-patch:
-       @${PERL} -pi -e 's/^our\s+(.VERSION)\s+=\s+(.+?;)$$/use vars qw($$1);\n$$1 = $$2/o;' \
-               ${WRKSRC}/lib/HTML/Template/HashWrapper.pm
+.if ${PERL_LEVEL} < 500800
+IGNORE=                requires perl 5.8.x or later. Install lang/perl5.8 then try again
 .endif
 
 .include <bsd.port.post.mk>
Comment 4 Lars Thegler freebsd_committer freebsd_triage 2005-09-15 19:41:18 UTC
State Changed
From-To: feedback->closed

New port added, thanks!