summaryrefslogtreecommitdiff
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
parentIn ATLAS/INSTALL.txt it is said that gcc42 is superior to both gcc3 and gcc41 (diff)
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
Notes
Notes: svn path=/head/; revision=196700
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)