From linimon@FreeBSD.org  Sun May 27 07:14:29 2012
Return-Path: <linimon@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B2A201065675
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 May 2012 07:14:29 +0000 (UTC)
	(envelope-from linimon@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 9D4768FC15
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 May 2012 07:14:29 +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 q4R7ETqi046509
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 May 2012 07:14:29 GMT
	(envelope-from linimon@freefall.freebsd.org)
Received: (from linimon@localhost)
	by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4R7ETp0046508;
	Sun, 27 May 2012 07:14:29 GMT
	(envelope-from linimon)
Message-Id: <201205270714.q4R7ETp0046508@freefall.freebsd.org>
Date: Sun, 27 May 2012 07:14:29 GMT
From: Mark Linimon <linimon@FreeBSD.org>
Reply-To: Mark Linimon <linimon@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] fix lang/python26 on powerpc
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         168361
>Category:       ports
>Synopsis:       [patch] fix lang/python26 on powerpc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 27 07:20:01 UTC 2012
>Closed-Date:    Mon May 28 05:16:45 UTC 2012
>Last-Modified:  Mon May 28 05:20:01 UTC 2012
>Originator:     Mark Linimon
>Release:        FreeBSD 9.0-STABLE i386
>Organization:
FreeBSD
>Environment:
System: FreeBSD freefall.freebsd.org 9.0-STABLE FreeBSD 9.0-STABLE #6 r235139: Tue May 8 21:19:03 UTC 2012 simon@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386
>Description:
Apparently _ctypes.so is once again built on powerpc since I last tried
to fix this port:

>How-To-Repeat:
>Fix:
This removes the previous workaround for powerpc.

Note: I have not tinderboxed this patch.

While here, I have tossed the stanza for alpha.

Index: Makefile
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/lang/python26/Makefile,v
retrieving revision 1.181
diff -u -r1.181 Makefile
--- Makefile	11 Apr 2012 12:52:16 -0000	1.181
+++ Makefile	27 May 2012 07:13:37 -0000
@@ -107,12 +107,7 @@
 CONFIGURE_ARGS+=	--without-pymalloc
 .endif
 
-.if ${ARCH} == powerpc
-PLIST_SUB+=	NOT_FOR_POWERPC="@comment "
-.else
-PLIST_SUB+=	NOT_FOR_POWERPC=""
-.endif
-.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == alpha
+.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64
 PLIST_SUB+=	32BIT_ONLY="@comment "
 .else
 PLIST_SUB+=	32BIT_ONLY=""
Index: pkg-plist
===================================================================
RCS file: /home/FreeBSD/pcvs/ports/lang/python26/pkg-plist,v
retrieving revision 1.87
diff -u -r1.87 pkg-plist
--- pkg-plist	11 Apr 2012 12:52:16 -0000	1.87
+++ pkg-plist	27 May 2012 07:13:49 -0000
@@ -790,7 +790,7 @@
 %%PYTHON_LIBDIR%%/lib-dynload/_codecs_tw.so
 %%PYTHON_LIBDIR%%/lib-dynload/_collections.so
 %%PYTHON_LIBDIR%%/lib-dynload/_csv.so
-%%NOT_FOR_POWERPC%%%%PYTHON_LIBDIR%%/lib-dynload/_ctypes.so
+%%PYTHON_LIBDIR%%/lib-dynload/_ctypes.so
 %%PYTHON_LIBDIR%%/lib-dynload/_ctypes_test.so
 %%PYTHON_LIBDIR%%/lib-dynload/_curses.so
 %%PYTHON_LIBDIR%%/lib-dynload/_curses_panel.so
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun May 27 07:20:13 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168361 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon May 28 05:16:44 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/168361: commit references a PR
Date: Mon, 28 May 2012 05:16:52 +0000 (UTC)

 miwi        2012-05-28 05:16:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/python26        Makefile pkg-plist 
   Log:
   - Unbreak build on powerpc
   
   PR:             168361
   Submitted by:   linimon
   
   Revision  Changes    Path
   1.182     +1 -6      ports/lang/python26/Makefile
   1.88      +1 -1      ports/lang/python26/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
