From owner-freebsd-python@FreeBSD.ORG Sun Jun 3 19:30:17 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 464311065680 for ; Sun, 3 Jun 2012 19:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 317E88FC08 for ; Sun, 3 Jun 2012 19:30:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q53JUHxV090913 for ; Sun, 3 Jun 2012 19:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q53JUHvL090910; Sun, 3 Jun 2012 19:30:17 GMT (envelope-from gnats) Date: Sun, 3 Jun 2012 19:30:17 GMT Message-Id: <201206031930.q53JUHvL090910@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Marcus von Appen Cc: Subject: Re: ports/155936: lang/python27 Pthread: previous declaration of ... X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2012 19:30:17 -0000 The following reply was made to PR ports/155936; it has been noted by GNATS. From: Marcus von Appen To: bug-followup@FreeBSD.org, kalten@gmx.at, freebsd-python@FreeBSD.org Cc: Subject: Re: ports/155936: lang/python27 Pthread: previous declaration of ... Date: Sun, 3 Jun 2012 21:22:37 +0200 --ey/N+yb7u/X9mFhi Content-Type: multipart/mixed; boundary="vni90+aGYgRvsTuO" Content-Disposition: inline --vni90+aGYgRvsTuO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The attached patch fixes the pth usage (and hence the now available BROKEN=) for lang/python27. Cheers Marcus --vni90+aGYgRvsTuO Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="unbreak_pth_python27.diff" Index: lang/python27/Makefile =================================================================== RCS file: /home/pcvs/ports/lang/python27/Makefile,v retrieving revision 1.188 diff -u -r1.188 Makefile --- lang/python27/Makefile 31 May 2012 15:17:32 -0000 1.188 +++ lang/python27/Makefile 3 Jun 2012 19:15:11 -0000 @@ -81,10 +81,10 @@ .if ${PORT_OPTIONS:MTHREADS} PLIST_SUB+= THREADS="" .if ${PORT_OPTIONS:MPTH} -BROKEN= does not build with PTH enabled -CONFIGURE_ARGS+= --with-pth +CONFIGURE_ARGS+= --with-pth --with-system-ffi EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-configure-pth -LIB_DEPENDS+= pth:${PORTSDIR}/devel/pth +LIB_DEPENDS+= pth:${PORTSDIR}/devel/pth \ + ffi.5:${PORTSDIR}/devel/libffi _PTH_CPPFLAGS= "-I${LOCALBASE}/include/pth" _PTH_LDFLAGS= "-L${LOCALBASE}/lib/pth" CPPFLAGS:= ${_PTH_CPPFLAGS} ${CPPFLAGS} --vni90+aGYgRvsTuO-- --ey/N+yb7u/X9mFhi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/LuX0ACgkQi68/ErJnpkeFVACgrSX5f+w12Y/rLXBDaLlB+cZX +9MAoNUwuKx6jvzYr9WTGSV9qRmHgbVn =hHaV -----END PGP SIGNATURE----- --ey/N+yb7u/X9mFhi--