diff options
-rw-r--r-- | lang/python37/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lang/python37/Makefile b/lang/python37/Makefile index fe87ffb87a4c..a3f04f2ebf91 100644 --- a/lang/python37/Makefile +++ b/lang/python37/Makefile @@ -114,6 +114,12 @@ DISABLED_EXTENSIONS+= nis PLIST_SUB+= NO_NIS="" .endif +post-patch: +# disable the detection of includes and library from e2fsprogs-libuuid, +# 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 + post-install: .if ! ${PORT_OPTIONS:MDEBUG} ${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so # Upstream Issue: https://bugs.python.org/issue17975 |