svn commit: r488798 - head/lang/python37
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Dec 31 16:03:43 UTC 2018
Author: amdmi3
Date: Mon Dec 31 16:03:41 2018
New Revision: 488798
URL: https://svnweb.freebsd.org/changeset/ports/488798
Log:
- Fix build in presence of e2fsprogs-libuuid
PR: 229562
Reported by: many
Modified:
head/lang/python37/Makefile
Modified: head/lang/python37/Makefile
==============================================================================
--- head/lang/python37/Makefile Mon Dec 31 15:38:48 2018 (r488797)
+++ head/lang/python37/Makefile Mon Dec 31 16:03:41 2018 (r488798)
@@ -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
More information about the svn-ports-all
mailing list