summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1e27dd8..690f98f 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
OpenPOWER on IntegriCloud