summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-PgSPI
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2005-05-08 07:44:30 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2005-05-08 07:44:30 +0000
commit8d870e03c6884f1a621a054d651d1f6fe22da194 (patch)
tree1936c23543bea8c10c3d5b1fde5b1dde87ba2768 /databases/p5-DBD-PgSPI
parentFix 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-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" \