summaryrefslogtreecommitdiff
path: root/databases/p5-Mysql
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-04-02 17:54:43 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-04-02 17:54:43 +0000
commit5382b797798cc96be201ca78248d644ac5b3b00a (patch)
treefe83ab31c4e9d97d9055c23592d46eae2d27198b /databases/p5-Mysql
parentCatch up with the latest CVS, fix the charset/locale stuff. Bump the (diff)
- Remove old Perl support from unmaintained ports in categories starting
with letter b-f
Notes
Notes: svn path=/head/; revision=189024
Diffstat (limited to 'databases/p5-Mysql')
-rw-r--r--databases/p5-Mysql/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/databases/p5-Mysql/Makefile b/databases/p5-Mysql/Makefile
index e33b6e033414..c5def43af3d4 100644
--- a/databases/p5-Mysql/Makefile
+++ b/databases/p5-Mysql/Makefile
@@ -16,7 +16,8 @@ DISTNAME= Msql-Mysql-modules-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl5 modules for accessing MySQL databases
-BUILD_DEPENDS= ${SITE_PERL}/Data/ShowTable.pm:${PORTSDIR}/devel/p5-Data-ShowTable
+BUILD_DEPENDS= ${SITE_PERL}/Data/ShowTable.pm:${PORTSDIR}/devel/p5-Data-ShowTable \
+ ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
CONFLICTS= p5-DBD-mysql-* p5-DBD-mysql4[0-9]-* p5-DBD-mysql5[0-9]-*
@@ -37,14 +38,4 @@ MAN3= Bundle::DBD::mysql.3 \
pre-configure:
@${PERL} -p -i -e 's| -lgz||' ${WRKSRC}/lib/DBD/mysql/Install.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>