summaryrefslogtreecommitdiff
path: root/databases/py-MySQL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-MySQL/Makefile')
-rw-r--r--databases/py-MySQL/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/py-MySQL/Makefile b/databases/py-MySQL/Makefile
index 4eace29262e0..443ac95fdab7 100644
--- a/databases/py-MySQL/Makefile
+++ b/databases/py-MySQL/Makefile
@@ -17,7 +17,9 @@ COMMENT= Access a MySQL database through Python
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
PLIST_FILES= lib/%%PYTHON_VERSION%%/site-packages/MySQLmodule.so
-USE_PYTHON= yes
+USE_PYTHON= -2.4
+CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
+MAKE_ENV= ${CONFIGURE_ENV}
.include <bsd.port.pre.mk>