summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-02-26 07:32:02 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-02-26 07:32:02 +0000
commit9aad87b2dfe8b4c5cef8cdfabb6bf6ade6101a6b (patch)
treeedaa6df696958ccfd34a12a5e7cc2083db45e488 /Mk
parent- Update to 1.5.1 (diff)
- add PYTHON to CONFIGURE_ENV so that ports using auto* for python will be
able to detect it if it's not installed as bin/python Prodded by: 104560, and others
Notes
Notes: svn path=/head/; revision=185960
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.python.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index 8e23876bbdcc..ea0e87e6c2a2 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -386,6 +386,9 @@ PYDISTUTILS_CONFIGUREARGS?=
PYDISTUTILS_BUILDARGS?=
PYDISTUTILS_INSTALLARGS?= -c -O1 --prefix=${PREFIX}
+# Fix for programs that build python from a GNU auto* enviornment
+CONFIGURE_ENV+= PYTHON="${PYTHON_CMD}"
+
# Zope-related variables
.if defined(USE_ZOPE)
.if ${ZOPE_VERSION} == "3.2"