From 0216ac480f1237b24d158807ac309c48f6f79e21 Mon Sep 17 00:00:00 2001 From: Marcus von Appen Date: Sat, 30 Nov 2013 10:48:41 +0000 Subject: - 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 --- lang/python32/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lang/python32/Makefile') 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 - -- cgit v1.2.3