aboutsummaryrefslogtreecommitdiff
path: root/databases/py-MySQL
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
commit4942ce5a7d8a3d0cbebaf4d202011850d1f7569f (patch)
treedb1f21912f461000d609ddcd5d130946bcfe9e09 /databases/py-MySQL
parentb4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff)
downloadports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.tar.gz
ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.zip
Notes
Diffstat (limited to 'databases/py-MySQL')
-rw-r--r--databases/py-MySQL/Makefile4
-rw-r--r--databases/py-MySQL/files/Makefile.pre.in2
2 files changed, 4 insertions, 2 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>
diff --git a/databases/py-MySQL/files/Makefile.pre.in b/databases/py-MySQL/files/Makefile.pre.in
index 2d14294054a0..d8f763d8d6c6 100644
--- a/databases/py-MySQL/files/Makefile.pre.in
+++ b/databases/py-MySQL/files/Makefile.pre.in
@@ -92,7 +92,7 @@ VPATH= .
TARGET= python
# Installed python binary (used only by boot target)
-PYTHON= python
+PYTHON?= python
# Add more -I and -D options here
CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS)