summaryrefslogtreecommitdiff
path: root/lang/python32/Makefile
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2013-11-30 10:48:41 +0000
committerMarcus von Appen <mva@FreeBSD.org>2013-11-30 10:48:41 +0000
commit0216ac480f1237b24d158807ac309c48f6f79e21 (patch)
tree8b782daf8f4b7df39a55cab20b7ebea4fbdcef8d /lang/python32/Makefile
parentUpdate from 4.0.25 to 4.0.26: (diff)
- 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>
Diffstat (limited to '')
-rw-r--r--lang/python32/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 7ea856f0a14f..afd0a1364d58 100644
--- a/lang/python32/Makefile
+++ b/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 -