aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-pyPgSQL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-pyPgSQL/Makefile')
-rw-r--r--databases/py-pyPgSQL/Makefile4
1 files changed, 3 insertions, 1 deletions
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