aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBD-PgSPI
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2005-05-08 15:44:30 +0800
committernork <nork@FreeBSD.org>2005-05-08 15:44:30 +0800
commit2bfa42dd3811ef0501ba48abf0980fc60f868710 (patch)
tree71e831b7e6b2f06f1e13a51f5142991607c91f87 /databases/p5-DBD-PgSPI
parenta8849054f82fad6488b6c684c6aad050ff9b2c33 (diff)
downloadfreebsd-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/p5-DBD-PgSPI')
-rw-r--r--databases/p5-DBD-PgSPI/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/databases/p5-DBD-PgSPI/Makefile b/databases/p5-DBD-PgSPI/Makefile
index 4fc3cfd96581..91b56c60eb19 100644
--- a/databases/p5-DBD-PgSPI/Makefile
+++ b/databases/p5-DBD-PgSPI/Makefile
@@ -18,8 +18,7 @@ COMMENT= Provides access to PostgreSQL db through DBI within pl/perl functions
BUILD_DEPENDS= ${RUN_DEPENDS} \
${NONEXISTENT}:${PORTSDIR}/${POSTGRESQL_PORT}:configure
-RUN_DEPENDS= ${LOCALBASE}/lib/postgresql/plperl.so:${PORTSDIR}/databases/p5-postgresql-plperl \
- ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
+RUN_DEPENDS= ${LOCALBASE}/lib/postgresql/plperl.so:${PORTSDIR}/databases/p5-postgresql-plperl
USE_PGSQL= yes
PERL_CONFIGURE= yes
@@ -46,9 +45,11 @@ PGSQL_VER= ${DEFAULT_PGSQL_VER}
.endif
.if ${PERL_LEVEL} < 500600
-RUN_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 \
+ ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg-13
.else
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
+ ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
.endif
CONFIGURE_ENV= POSTGRES_HOME="`${PGSQL_WRKSRC_CMD}`/src" \