Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2013 10:48:42 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335280 - head/lang/python32
Message-ID:  <201311301048.rAUAmgen098763@svn.freebsd.org>

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



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