aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-01-22 03:46:29 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-01-22 03:46:29 +0000
commit59198e1e62ded10a3bdf1d4d77c0a1020d2a6484 (patch)
tree68ebe722cd35e5b6e134156f4f7fa0ec004cbeb7
parent8a1b9bbb133006c7908d7b3d8c901b817076ca6c (diff)
downloadports-59198e1e62ded10a3bdf1d4d77c0a1020d2a6484.tar.gz
ports-59198e1e62ded10a3bdf1d4d77c0a1020d2a6484.zip
- update to 1.06
- unbreak it on perl 5.005_03 PR: 92101 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=154119
-rw-r--r--databases/p5-POE-Component-EasyDBI/Makefile19
-rw-r--r--databases/p5-POE-Component-EasyDBI/distinfo5
2 files changed, 15 insertions, 9 deletions
diff --git a/databases/p5-POE-Component-EasyDBI/Makefile b/databases/p5-POE-Component-EasyDBI/Makefile
index 131d59fbf0a3..cdba109a08e2 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 87ac1c13e001..ce9c190ae2b7 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