diff options
author | nork <nork@FreeBSD.org> | 2005-05-08 15:44:30 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2005-05-08 15:44:30 +0800 |
commit | 2bfa42dd3811ef0501ba48abf0980fc60f868710 (patch) | |
tree | 71e831b7e6b2f06f1e13a51f5142991607c91f87 /databases/postgresql_autodoc | |
parent | a8849054f82fad6488b6c684c6aad050ff9b2c33 (diff) | |
download | freebsd-ports-gnome-2bfa42dd3811ef0501ba48abf0980fc60f868710.tar.gz freebsd-ports-gnome-2bfa42dd3811ef0501ba48abf0980fc60f868710.tar.zst freebsd-ports-gnome-2bfa42dd3811ef0501ba48abf0980fc60f868710.zip |
Chase dependency on p5-DBD-Pg.
(Use p5-DBD-Pg-13 on FreeBSD 4.x and Perl 5.00503)
Diffstat (limited to 'databases/postgresql_autodoc')
-rw-r--r-- | databases/postgresql_autodoc/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/databases/postgresql_autodoc/Makefile b/databases/postgresql_autodoc/Makefile index c611ca7c0c36..a104c09b2b82 100644 --- a/databases/postgresql_autodoc/Makefile +++ b/databases/postgresql_autodoc/Makefile @@ -14,8 +14,14 @@ DIST_SUBDIR= postgresql MAINTAINER= olgeni@FreeBSD.org COMMENT= Automatic documentation generator for postgresql databases -BUILD_DEPENDS= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \ - ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg +.include <bsd.port.pre.mk> + +BUILD_DEPENDS= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template +.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 GNU_CONFIGURE= yes USE_GMAKE= yes @@ -24,4 +30,4 @@ CONFIGURE_ARGS+= --datadir=${DATADIR} WRKSRC= ${WRKDIR}/postgresql_autodoc -.include <bsd.port.mk> +.include <bsd.port.post.mk> |