diff options
-rw-r--r-- | databases/p5-POE-Component-EasyDBI/Makefile | 19 | ||||
-rw-r--r-- | databases/p5-POE-Component-EasyDBI/distinfo | 5 |
2 files changed, 15 insertions, 9 deletions
diff --git a/databases/p5-POE-Component-EasyDBI/Makefile b/databases/p5-POE-Component-EasyDBI/Makefile index 131d59fbf0a..cdba109a08e 100644 --- a/databases/p5-POE-Component-EasyDBI/Makefile +++ b/databases/p5-POE-Component-EasyDBI/Makefile @@ -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 diff --git a/databases/p5-POE-Component-EasyDBI/distinfo b/databases/p5-POE-Component-EasyDBI/distinfo index 87ac1c13e00..ce9c190ae2b 100644 --- a/databases/p5-POE-Component-EasyDBI/distinfo +++ b/databases/p5-POE-Component-EasyDBI/distinfo @@ -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 |