diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2021-09-27 17:39:05 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2021-09-27 17:56:59 +0000 |
| commit | 6bef09666460fb9f9052550854fa69f5d5e4a0e8 (patch) | |
| tree | d7323851d190ce5e250f827559fcc9a0e1606da8 /lang/python39 | |
| parent | 0e6da3c2e1f0ca151be9e6428dcc9c0b7f19d170 (diff) | |
Diffstat (limited to 'lang/python39')
| -rw-r--r-- | lang/python39/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/python39/Makefile b/lang/python39/Makefile index 4a0d31ba17f2..2d052cf3741d 100644 --- a/lang/python39/Makefile +++ b/lang/python39/Makefile @@ -116,6 +116,10 @@ post-patch: # which introduces hidden dependency and breaks build @${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py +# disable detection of multiarch as it breaks with clang >= 13, which adds a +# major.minor version number in -print-multiarch output, confusing Python + @${REINPLACE_CMD} -e 's|^MULTIARCH=.*|MULTIARCH=|' ${WRKSRC}/configure \ + ${WRKSRC}/configure.ac # Apply DISABLED_EXTENSIONS @${ECHO_CMD} '*disabled*' > ${WRKSRC}/Modules/Setup.local . for _module in ${DISABLED_EXTENSIONS} |
