Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2018 16:03:42 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488798 - head/lang/python37
Message-ID:  <201812311603.wBVG3gV4028535@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812311603.wBVG3gV4028535>