diff options
Diffstat (limited to 'databases/py-MySQL')
-rw-r--r-- | databases/py-MySQL/Makefile | 4 | ||||
-rw-r--r-- | databases/py-MySQL/files/Makefile.pre.in | 2 |
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) |