aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-DateTime-Format-DBI
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2007-06-18 10:15:05 +0000
committerErwin Lansing <erwin@FreeBSD.org>2007-06-18 10:15:05 +0000
commit19e0a331445dbafeee4e8f51c947d2d146b2241a (patch)
tree45f7252b89e56a49d264c47726ec2e6a8558251e /devel/p5-DateTime-Format-DBI
parent95013b42cfcdfc2e18937865b9b6256c970ee19d (diff)
downloadports-19e0a331445dbafeee4e8f51c947d2d146b2241a.tar.gz
ports-19e0a331445dbafeee4e8f51c947d2d146b2241a.zip
Notes
Diffstat (limited to 'devel/p5-DateTime-Format-DBI')
-rw-r--r--devel/p5-DateTime-Format-DBI/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/devel/p5-DateTime-Format-DBI/Makefile b/devel/p5-DateTime-Format-DBI/Makefile
index f66fd06312b8..06e3f12638fc 100644
--- a/devel/p5-DateTime-Format-DBI/Makefile
+++ b/devel/p5-DateTime-Format-DBI/Makefile
@@ -16,7 +16,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/}
MAINTAINER= mat@FreeBSD.org
COMMENT= Find a parser class for a database connection
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -26,14 +27,4 @@ MAN3= DateTime::Format::DBI.3
post-patch:
@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' ${WRKSRC}/lib/DateTime/Format/DBI.pm
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500600
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
-.else
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>