Date: Sun, 8 Dec 2013 07:13:01 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335868 - head/lang/python26 Message-ID: <201312080713.rB87D17f044902@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312080713.rB87D17f044902>