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 /www/rt2 | |
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 'www/rt2')
-rw-r--r-- | www/rt2/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/www/rt2/Makefile b/www/rt2/Makefile index 6a69d12a01e1..e6666738a1f4 100644 --- a/www/rt2/Makefile +++ b/www/rt2/Makefile @@ -44,8 +44,14 @@ WRKSRC= ${WRKDIR}/rt-${RT_VERSION} RT_VERSION= ${PORTVERSION:C/\./-/g} DB_TYPE?= mysql +.include <bsd.port.pre.mk> + .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 DB_TYPE= mysql BUILD_DEPENDS+= ${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server @@ -147,8 +153,6 @@ do-install: post-install: @${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE} -.include <bsd.port.pre.mk> - .if ${OSVERSION} >= 502000 BROKEN= "Broken pkg-plist" .endif |