Permalink
Browse files

- 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@0x100.com>
  • Loading branch information...
1 parent d1e1b02 commit 85056866fe8f1aab03262543084fc176843daaa4 mva committed Nov 30, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 lang/python32/Makefile
View
4 lang/python32/Makefile
@@ -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 -

0 comments on commit 8505686

Please sign in to comment.