svn commit: r335280 - head/lang/python32

Marcus von Appen mva at FreeBSD.org
Sat Nov 30 10:48:42 UTC 2013


Author: mva
Date: Sat Nov 30 10:48:41 2013
New Revision: 335280
URL: http://svnweb.freebsd.org/changeset/ports/335280

Log:
  - Unbreak the build on 10.x and newer, which provides pipe2()
    This relates to http://bugs.python.org/issue12852
  
  PR:		ports/184140
  Submitted by:	Yuta Sato <nigoro.gentoo at 0x100.com>

Modified:
  head/lang/python32/Makefile

Modified: head/lang/python32/Makefile
==============================================================================
--- head/lang/python32/Makefile	Sat Nov 30 10:29:01 2013	(r335279)
+++ head/lang/python32/Makefile	Sat Nov 30 10:48:41 2013	(r335280)
@@ -150,6 +150,10 @@ post-patch:
 	    's/disabled_module_list =[^]]*/&, "nis"/' \
 		${PATCH_WRKSRC}/setup.py
 .endif
+# Fix for http://bugs.python.org/issue12852 (especially on 10.x+);
+# not needed for python33+
+	${REINPLACE_CMD} -e 's|_XOPEN_SOURCE 600|_XOPEN_SOURCE 700|' \
+		${PATCH_WRKSRC}/configure
 
 post-configure:
 	${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${SHARED_WRKSRC} -xf -


More information about the svn-ports-all mailing list