diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-04-02 17:54:43 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-04-02 17:54:43 +0000 |
commit | 5382b797798cc96be201ca78248d644ac5b3b00a (patch) | |
tree | fe83ab31c4e9d97d9055c23592d46eae2d27198b /databases/p5-DBD-Excel | |
parent | 551fded38f17dae9a22c4621b1eee090e543099b (diff) |
Notes
Diffstat (limited to 'databases/p5-DBD-Excel')
-rw-r--r-- | databases/p5-DBD-Excel/Makefile | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/databases/p5-DBD-Excel/Makefile b/databases/p5-DBD-Excel/Makefile index 4aac2b6530b8..a39babad05e0 100644 --- a/databases/p5-DBD-Excel/Makefile +++ b/databases/p5-DBD-Excel/Makefile @@ -17,7 +17,8 @@ COMMENT= A class for DBI drivers that acts on Excel files BUILD_DEPENDS= ${SITE_PERL}/SQL/Statement.pm:${PORTSDIR}/databases/p5-SQL-Statement \ ${SITE_PERL}/Spreadsheet/ParseExcel.pm:${PORTSDIR}/textproc/p5-Spreadsheet-ParseExcel \ - ${SITE_PERL}/Spreadsheet/WriteExcel.pm:${PORTSDIR}/textproc/p5-Spreadsheet-WriteExcel + ${SITE_PERL}/Spreadsheet/WriteExcel.pm:${PORTSDIR}/textproc/p5-Spreadsheet-WriteExcel \ + ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI RUN_DEPENDS= ${BUILD_DEPENDS} EXAMPLESDIR?= ${PREFIX}/share/examples/${PORTNAME} @@ -31,14 +32,4 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR} .endif -.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> |