- update to 1.06
- unbreak it on perl 5.005_03 PR: 92101 Submitted by: maintainer
This commit is contained in:
parent
8a1b9bbb13
commit
59198e1e62
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154119
2 changed files with 15 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= POE-Component-EasyDBI
|
||||
PORTVERSION= 1.05
|
||||
PORTVERSION= 1.06
|
||||
CATEGORIES= databases perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= POE
|
||||
|
@ -15,10 +15,11 @@ PKGNAMEPREFIX= p5-
|
|||
MAINTAINER= hideo@lastamericanempire.com
|
||||
COMMENT= POE Component for simplified DBI usage
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
|
||||
RUN_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
|
||||
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
|
||||
${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
|
@ -29,11 +30,15 @@ MAN3= POE::Component::EasyDBI.3 \
|
|||
|
||||
.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+(.VERSION).+?Revision:\s+(\S+).+$$/use vars qw($$1);\n$$1 = q($$2);/o;' \
|
||||
-e '$$_ = "" if /(no|use) warnings/;' \
|
||||
${WRKSRC}/lib/POE/Component/EasyDBI.pm \
|
||||
${WRKSRC}/lib/POE/Component/EasyDBI/SubProcess.pm
|
||||
@${PERL} -pi -e 's/^our\s+(\$$\S+)/use vars qw($$1); $$1/g;' \
|
||||
-e 'undef $$_ if /^\s*(no|use) warnings/o;' \
|
||||
${WRKSRC}/lib/POE/Component/EasyDBI.pm \
|
||||
${WRKSRC}/lib/POE/Component/EasyDBI/SubProcess.pm
|
||||
|
||||
post-configure:
|
||||
@${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
|
||||
.else
|
||||
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
|
||||
.endif
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
MD5 (POE-Component-EasyDBI-1.05.tar.gz) = 8d5a2308c22cb23ededcf4ee30db2ab0
|
||||
SIZE (POE-Component-EasyDBI-1.05.tar.gz) = 33893
|
||||
MD5 (POE-Component-EasyDBI-1.06.tar.gz) = 6b39402826594f410f56b43154385c4e
|
||||
SHA256 (POE-Component-EasyDBI-1.06.tar.gz) = fe6a2c61733d0064b69279fc1ffa21115039e8b4beaa3dd41d5ebcc7e7b7bb60
|
||||
SIZE (POE-Component-EasyDBI-1.06.tar.gz) = 34734
|
||||
|
|
Loading…
Reference in a new issue