Bug 73127 - [maintainer update] devel/p5-POE-Component-EasyDBI 0.03 -> 0.07
Summary: [maintainer update] devel/p5-POE-Component-EasyDBI 0.03 -> 0.07
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-10-25 17:10 UTC by Zach Thompson
Modified: 2004-11-19 11:53 UTC (History)
0 users

See Also:


Attachments
PoCo-EasyDBI-0.07 (2.04 KB, text/plain)
2004-10-25 17:10 UTC, Zach Thompson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zach Thompson 2004-10-25 17:10:38 UTC
Update p5-POE-Component-EasyDBI from v0.03 to v0.07
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2004-10-26 14:48:41 UTC
State Changed
From-To: open->feedback

This port does not seem to work with 5.005_03, could you investigate and either 
provide a patch to have it work or restrict for perl > 5.6. 
Thanks 


Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2004-10-26 14:48:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mat

This port does not seem to work with 5.005_03, could you investigate and either 
provide a patch to have it work or restrict for perl > 5.6. 
Thanks
Comment 3 hideo 2004-10-26 19:15:38 UTC
Mat - Hopefully this will fix it.

Zach

--- p5-POE-Component-EasyDBI-0.07/Makefile      Tue Oct 26 12:03:32 2004
+++ Makefile    Tue Oct 26 12:05:10 2004
@@ -30,9 +30,8 @@
 .if ${PERL_LEVEL} < 500600
 BUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
 post-patch:
-       @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/;' \
-                       -e '$$_ = "" if /(no|use) warnings/;' \
-                               ${WRKSRC}/EasyDBI.pm ${WRKSRC}/EasyDBI/SubProcess.pm
+       @${PERL} -pi -e 's/^our\s+(.VERSION).+?Revision:\s+(\S+).+$$/use vars qw($$1);\n$$1 = q($$2);/o' \
+                       ${WRKSRC}/lib/POE/Component/EasyDBI.pm ${WRKSRC}/lib/POE/Component/EasyDBI/SubProcess.pm
 .else
 BUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
 .endif
Comment 4 hideo 2004-10-26 19:20:24 UTC
The following reply was made to PR ports/73127; it has been noted by GNATS.

From: Zach Thompson <hideo@lastamericanempire.com>
To: freebsd-gnats-submit@FreeBSD.org, hideo@lastamericanempire.com
Cc:  
Subject: Re: ports/73127: [maintainer update] devel/p5-POE-Component-EasyDBI 0.03 -> 0.07
Date: Tue, 26 Oct 2004 12:15:38 -0600

 Mat - Hopefully this will fix it.
 
 Zach
 
 --- p5-POE-Component-EasyDBI-0.07/Makefile      Tue Oct 26 12:03:32 2004
 +++ Makefile    Tue Oct 26 12:05:10 2004
 @@ -30,9 +30,8 @@
  .if ${PERL_LEVEL} < 500600
  BUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
  post-patch:
 -       @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/;' \
 -                       -e '$$_ = "" if /(no|use) warnings/;' \
 -                               ${WRKSRC}/EasyDBI.pm ${WRKSRC}/EasyDBI/SubProcess.pm
 +       @${PERL} -pi -e 's/^our\s+(.VERSION).+?Revision:\s+(\S+).+$$/use vars qw($$1);\n$$1 = q($$2);/o' \
 +                       ${WRKSRC}/lib/POE/Component/EasyDBI.pm ${WRKSRC}/lib/POE/Component/EasyDBI/SubProcess.pm
  .else
  BUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
  .endif
Comment 5 Mathieu Arnold freebsd_committer freebsd_triage 2004-11-19 11:53:32 UTC
State Changed
From-To: feedback->closed

Committed, thanks !