aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/py-psycopg/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile
index 85cf0313a3a4..8d9ee6b25c59 100644
--- a/databases/py-psycopg/Makefile
+++ b/databases/py-psycopg/Makefile
@@ -28,6 +28,7 @@ POSTGRESQL_PORT?= databases/postgresql7
ALL_TARGET= sharedmods
CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
+ --with-python-version=${PYTHON_VERSION:S/python//} \
--with-postgres-libraries=${LOCALBASE}/lib \
--with-postgres-includes=${LOCALBASE}/include \
--with-mxdatetime-includes=${DATETIME_INC}