summaryrefslogtreecommitdiff
path: root/lang/python310/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python310/Makefile')
-rw-r--r--lang/python310/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/python310/Makefile b/lang/python310/Makefile
index b352e8a2f9d7..20738cca4278 100644
--- a/lang/python310/Makefile
+++ b/lang/python310/Makefile
@@ -107,6 +107,10 @@ EXTRA_PATCHES+= ${PATCHDIR}/libressl
.endif
post-patch:
+# disable the detection of includes and library from libuuid,
+# which introduces hidden dependency and breaks build
+ @${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
+
# 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=\).*--print-multiarch.*|\1|' ${WRKSRC}/configure