Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2012 07:14:29 GMT
From:      Mark Linimon <linimon@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168361: [patch] fix lang/python26 on powerpc
Message-ID:  <201205270714.q4R7ETp0046508@freefall.freebsd.org>
Resent-Message-ID: <201205270720.q4R7K1tX047273@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         168361
>Category:       ports
>Synopsis:       [patch] fix lang/python26 on powerpc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 27 07:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205270714.q4R7ETp0046508>