aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2007-06-18 18:15:05 +0800
committererwin <erwin@FreeBSD.org>2007-06-18 18:15:05 +0800
commitf715ee2156cefff3b48cc544154395c9ee65496d (patch)
tree4d4dc9ed72f672f1d9f7e3e4e67bb121a6ffa02a /devel
parentedb127590bc8ff9464981d678507ee2a42ab7021 (diff)
downloadfreebsd-ports-gnome-f715ee2156cefff3b48cc544154395c9ee65496d.tar.gz
freebsd-ports-gnome-f715ee2156cefff3b48cc544154395c9ee65496d.tar.zst
freebsd-ports-gnome-f715ee2156cefff3b48cc544154395c9ee65496d.zip
Remove 4.x workaround.
Approved by: maintainer (apriori)
Diffstat (limited to 'devel')
-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>