From swell.k@gmail.com  Sat May 22 10:33:39 2010
Return-Path: <swell.k@gmail.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 30935106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 May 2010 10:33:39 +0000 (UTC)
	(envelope-from swell.k@gmail.com)
Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54])
	by mx1.freebsd.org (Postfix) with ESMTP id B24908FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 May 2010 10:33:38 +0000 (UTC)
Received: by bwz2 with SMTP id 2so352661bwz.13
        for <FreeBSD-gnats-submit@freebsd.org>; Sat, 22 May 2010 03:33:37 -0700 (PDT)
Received: by 10.204.4.194 with SMTP id 2mr569504bks.53.1274524417579;
        Sat, 22 May 2010 03:33:37 -0700 (PDT)
Received: from localhost (95-25-188-72.broadband.corbina.ru [95.25.188.72])
        by mx.google.com with ESMTPS id l1sm8817437bkl.20.2010.05.22.03.33.36
        (version=SSLv3 cipher=RC4-MD5);
        Sat, 22 May 2010 03:33:37 -0700 (PDT)
Message-Id: <86iq6gtedb.fsf@gmail.com>
Date: Sat, 22 May 2010 14:33:36 +0400
From: Anonymous <swell.k@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] lang/python26: knob to build _ctypes module against devel/libffi

>Number:         146823
>Category:       ports
>Synopsis:       [patch] lang/python26: knob to build _ctypes module against devel/libffi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 22 10:40:01 UTC 2010
>Closed-Date:    Wed Oct 23 11:55:36 UTC 2013
>Last-Modified:  Wed Oct 23 12:00:00 UTC 2013
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
Build _ctypes module using newer libffi from devel/libffi port.
Should make experience more similar to pkgsrc's lang/python26.
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: lang/python26/Makefile
===================================================================
RCS file: /a/.cvsup/ports/lang/python26/Makefile,v
retrieving revision 1.166
diff -u -p -r1.166 Makefile
--- lang/python26/Makefile	12 May 2010 12:13:06 -0000	1.166
+++ lang/python26/Makefile	22 May 2010 10:09:48 -0000
@@ -55,7 +55,8 @@ OPTIONS=	THREADS "Enable thread support"
 		UCS4 "Use UCS4 for unicode support" on \
 		PYMALLOC "Use python's internal malloc" on \
 		IPV6 "Enable IPv6 support" on \
-		FPECTL "Enable floating point exception handling" off
+		FPECTL "Enable floating point exception handling" off \
+		FFI_PORT "Build _ctypes module using devel/libffi port" off
 
 .include <bsd.port.pre.mk>
 
@@ -146,6 +149,13 @@ CONFIGURE_ARGS+=	--disable-ipv6
 CONFIGURE_ARGS+=	--with-fpectl
 .endif
 
+.if !defined(WITHOUT_FFI_PORT)
+CONFIGURE_ARGS+=	--with-system-ffi
+LIB_DEPENDS+=		ffi.5:${PORTSDIR}/devel/libffi
+.else
+CONFIGURE_ARGS+=	--without-system-ffi
+.endif
+
 pre-patch:
 	${CP} -r ${PATCH_WRKSRC}/Lib/plat-freebsd8 \
 		${PATCH_WRKSRC}/Lib/plat-freebsd9
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat May 22 10:40:12 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146823 
Responsible-Changed-From-To: python->freebsd-python 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon May 24 17:59:57 UTC 2010 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146823 

From: Kubilay Kocak <koobs.freebsd@gmail.com>
To: bug-followup@FreeBSD.org, swell.k@gmail.com
Cc:  
Subject: Re: ports/146823: [patch] lang/python26: knob to build _ctypes module
 against devel/libffi
Date: Wed, 23 Oct 2013 22:49:09 +1100

 Python 2.6 has recently expired (20131001) as per:
 http://www.python.org/download/releases/2.6.8/
 
 I'd like to close this PR on that basis, and given the lang/python27
 port uses the devel/libffi port by default.
 
 Apologies that your submission was not addressed sooner.
State-Changed-From-To: open->closed 
State-Changed-By: koobs 
State-Changed-When: Wed Oct 23 11:55:36 UTC 2013 
State-Changed-Why:  
lang/python26 is expired, submitters email no longer exists. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146823 

From: Kubilay Kocak <koobs.freebsd@gmail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146823: [patch] lang/python26: knob to build _ctypes module
 against devel/libffi
Date: Wed, 23 Oct 2013 22:54:17 +1100

 Delivery to the following recipient failed permanently:
 
      swell.k@gmail.com
 
 The error that the other server returned was:
 550-5.1.1 The email account that you tried to reach does not exist
>Unformatted:
