1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

Mark IGNORE for perl < 5.6.x, which also drops the databases/p5-DBD-File

dependency.

Prompted by:	mat
PR:		80015
This commit is contained in:
Erwin Lansing 2005-05-02 11:23:29 +00:00
parent 1de4043bdf
commit 0c61cd09b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134494

View File

@ -17,7 +17,7 @@ MAINTAINER= erwin@FreeBSD.org
COMMENT= DBI driver for CSV files
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Text/CSV_XS.pm:${PORTSDIR}/textproc/p5-Text-CSV_XS \
${SITE_PERL}/DBD/File.pm:${PORTSDIR}/databases/p5-DBD-File
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
@ -27,11 +27,7 @@ MAN3= DBD::CSV.3 Bundle::DBD::CSV.3
.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
IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.include <bsd.port.post.mk>