diff options
| author | Charlie Li <vishwin@FreeBSD.org> | 2025-02-27 22:55:25 +0000 |
|---|---|---|
| committer | Charlie Li <vishwin@FreeBSD.org> | 2025-02-27 22:59:43 +0000 |
| commit | 50b9e59d0678e624be2c6914e8b6d91733f18045 (patch) | |
| tree | aa9e1828189d5c52a980bfcc0f5992e1c8dbb3cb | |
| parent | b28ec01163ab36a424becc7ab490c7bbca202081 (diff) | |
python.mk: allow do-configure with {HAS,GNU}_CONFIGURE under USE_PYTHON=pep517
Some non-Python software include optional Python package(s) whose
metadata is generated by a configure script. In those cases allow
do-configure to run instead of ignoring them completely when the
Python package is PEP-517-compliant.
| -rw-r--r-- | Mk/Uses/python.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index bc7bfef2771c..6c3b0681032a 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -932,7 +932,7 @@ BUILD_DEPENDS+= ${PEP517_BUILD_DEPEND} BUILD_DEPENDS+= ${PEP517_INSTALL_DEPEND} . endif -. if !target(do-configure) +. if !target(do-configure) && !defined(HAS_CONFIGURE) && !defined(GNU_CONFIGURE) do-configure: @${DO_NADA} . endif |
