summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/py-psycopg/Makefile2
-rw-r--r--databases/py-pyPgSQL/Makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile
index d51a9ef4f0f7..e9fc85afe298 100644
--- a/databases/py-psycopg/Makefile
+++ b/databases/py-psycopg/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= simuran@shaw.ca
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
BUILD_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
-LIB_DEPENDS= pq.2:${PORTSDIR}/${POSTGRESQL_PORT}
+LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
POSTGRESQL_PORT?= databases/postgresql7
USE_GMAKE= yes
diff --git a/databases/py-pyPgSQL/Makefile b/databases/py-pyPgSQL/Makefile
index ad2d6e02ce28..f02d64dee52d 100644
--- a/databases/py-pyPgSQL/Makefile
+++ b/databases/py-pyPgSQL/Makefile
@@ -16,7 +16,9 @@ DISTNAME= pyPgSQL-${PORTVERSION}
MAINTAINER= gerhard.haering@gmx.de
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
-LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
+LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+
+POSTGRESQL_PORT?= databases/postgresql7
WRKSRC= ${WRKDIR}/pypgsql
USE_PYTHON= yes