From owner-svn-ports-head@FreeBSD.ORG Sun Dec 8 07:13:02 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06E8360D; Sun, 8 Dec 2013 07:13:02 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CE9D11896; Sun, 8 Dec 2013 07:13:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB87D1fa044903; Sun, 8 Dec 2013 07:13:01 GMT (envelope-from koobs@svn.freebsd.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB87D17f044902; Sun, 8 Dec 2013 07:13:01 GMT (envelope-from koobs@svn.freebsd.org) Message-Id: <201312080713.rB87D17f044902@svn.freebsd.org> From: Kubilay Kocak Date: Sun, 8 Dec 2013 07:13:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335868 - head/lang/python26 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 07:13:02 -0000 Author: koobs Date: Sun Dec 8 07:13:01 2013 New Revision: 335868 URL: http://svnweb.freebsd.org/changeset/ports/335868 Log: lang/python26: Use ports libffi to address ctypes build failure on i386 Unconditionally use libffi from ports because the Python 2.6 branch was closed for maintenance when the import of libffi 3.0.13 took place. fixes _ctypes module build failure on i386. [1] This change was also committed to lang/python31 [2] and makes the recent FreeBSD/ARM patch [3] a NOOP, which will once again be addressed when ports/184517 lands [4]. This gives users the greatest amount of choice and flexibility just prior to expiry of the python27 and python31 ports [1] Fixes Issue #17192: Update the ctypes module's libffi to v3.0.13. This specifically addresses a stack misalignment issue on x86 and issues on some more recent platforms. [#17192] http://bugs.python.org/issue17192 http://hg.python.org/cpython/rev/a94b3b4599f1 http://hg.python.org/cpython/rev/688bc0b44d96 [2] https://svnweb.freebsd.org/ports?view=revision&revision=335370 [3] https://svnweb.freebsd.org/ports?view=revision&revision=335867 PR: ports/184517 [4] Modified: head/lang/python26/Makefile Modified: head/lang/python26/Makefile ============================================================================== --- head/lang/python26/Makefile Sun Dec 8 06:22:07 2013 (r335867) +++ head/lang/python26/Makefile Sun Dec 8 07:13:01 2013 (r335868) @@ -12,12 +12,15 @@ DISTFILES= ${PYTHON_DISTFILE} MAINTAINER= python@FreeBSD.org COMMENT= Interpreted object-oriented programming language +LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi + DEPRECATED= Python 2.6 is now end-of-life, please migrate to lang/python27 EXPIRATION_DATE=2014-01-01 DIST_SUBDIR= python GNU_CONFIGURE= yes CONFIGURE_SCRIPT= ../configure # must be relative +CONFIGURE_ARGS= --with-system-ffi CONFIGURE_ENV= SVNVERSION="echo freebsd" ac_cv_opt_olimit_ok=no MAKE_ENV= VPATH="${PYTHON_WRKSRC}" INSTALL_TARGET= altinstall