summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-07-10 02:00:14 +0000
committerperky <perky@FreeBSD.org>2004-07-10 02:00:14 +0000
commit8d83bfd8ed58aa4f54cb6e6961cb094574e1aeea (patch)
tree86ad45cbd5af48f0055c1f137b8c38d7e1654955 /Mk
parent20770fe4e0d951067a01730a436b16980c4583e5 (diff)
downloadFreeBSD-ports-8d83bfd8ed58aa4f54cb6e6961cb094574e1aeea.zip
FreeBSD-ports-8d83bfd8ed58aa4f54cb6e6961cb094574e1aeea.tar.gz
If GNU_CONFIGURE or HAS_CONFIGURE is defined, don't configure with
distutils. This reenables to build py-sgrep. Spotted by: kris
Diffstat (limited to '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 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