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 /mail/sympa/Makefile | |
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 'mail/sympa/Makefile')
-rw-r--r-- | mail/sympa/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/sympa/Makefile b/mail/sympa/Makefile index 772b32e6c8df..652095479ab3 100644 --- a/mail/sympa/Makefile +++ b/mail/sympa/Makefile @@ -31,6 +31,8 @@ RUN_DEPENDS= ${BUILD_DEPENDS} DB_TYPE= +.include <bsd.port.pre.mk> + .if defined(WITH_FASTCGI) .if defined(WITH_APACHE2) BUILD_DEPENDS+= ${LOCALBASE}/libexec/apache2/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi @@ -44,7 +46,11 @@ BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Oracle.pm:${PORTSDIR}/databases/p5-DBD-Oracle .else .if ${DB_TYPE} == "Pg" +.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 .else .if ${DB_TYPE} == "Sybase" BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Sybase.pm:${PORTSDIR}/databases/p5-DBD-Sybase @@ -91,8 +97,6 @@ post-install: post-deinstall: @PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL -.include <bsd.port.pre.mk> - .if ${ARCH} == "amd64" BROKEN= "Configure fails on amd64" .endif |