diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2005-05-08 07:44:30 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2005-05-08 07:44:30 +0000 |
commit | 8d870e03c6884f1a621a054d651d1f6fe22da194 (patch) | |
tree | 1936c23543bea8c10c3d5b1fde5b1dde87ba2768 /databases/p5-Class-DBI-Pg | |
parent | Fix PLIST typo (diff) |
Chase dependency on p5-DBD-Pg.
(Use p5-DBD-Pg-13 on FreeBSD 4.x and Perl 5.00503)
Notes
Notes:
svn path=/head/; revision=134838
Diffstat (limited to 'databases/p5-Class-DBI-Pg')
-rw-r--r-- | databases/p5-Class-DBI-Pg/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/databases/p5-Class-DBI-Pg/Makefile b/databases/p5-Class-DBI-Pg/Makefile index 9da2ab1a9766..d38e729e7367 100644 --- a/databases/p5-Class-DBI-Pg/Makefile +++ b/databases/p5-Class-DBI-Pg/Makefile @@ -15,8 +15,14 @@ PKGNAMEPREFIX= p5- MAINTAINER= mat@FreeBSD.org COMMENT= Extensions to Class::DBI for PostgreSQL -BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI \ - ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg +.include <bsd.port.pre.mk> + +BUILD_DEPENDS= ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg-13 +.else +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg +.endif RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -32,4 +38,4 @@ post-install: @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |