summaryrefslogtreecommitdiff
path: root/Mk/bsd.python.mk
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-07-10 02:00:14 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-07-10 02:00:14 +0000
commit1105aa3a9888f3e3222d6a41543da6dfdd3c7de5 (patch)
treeb01a005c0eb7ee60972abb97f51a2bb89ab916df /Mk/bsd.python.mk
parentMake PORTREVISION overridable by slave ports. (diff)
If GNU_CONFIGURE or HAS_CONFIGURE is defined, don't configure with
distutils. This reenables to build py-sgrep. Spotted by: kris
Notes
Notes: svn path=/head/; revision=113316
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r--Mk/bsd.python.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index 1e27dd84951c..690f98fda563 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -338,7 +338,7 @@ Python_Post_Include= bsd.python.mk
# py-distutils support
.if defined(USE_PYDISTUTILS)
-.if !target(do-configure)
+.if !target(do-configure) && !defined(HAS_CONFIGURE) && !defined(GNU_CONFIGURE)
do-configure:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} config ${PYDISTUTILS_CONFIGUREARGS})
.endif