ports/149167: lang/python26 fails to build _ctypes on Sheevaplug (ARM)

Nicole Reid okeeblow at cooltrainer.org
Sun Aug 1 06:20:44 UTC 2010


This works for me (patch attached), although without really knowing ARM
assembly I'm not sure what unintended repercussions it will have.

On Sun, Aug 1, 2010 at 12:10 AM, <FreeBSD-gnats-submit at freebsd.org> wrote:

> Thank you very much for your problem report.
> It has the internal identification `ports/149167'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=149167
>
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       lang/python26 fails to build _ctypes on Sheevaplug (ARM)
> >Arrival-Date:   Sun Aug 01 04:10:05 UTC 2010
>
-------------- next part --------------
--- Makefile.orig	2010-08-01 00:08:40.475836084 -0400
+++ Makefile	2010-08-01 00:41:27.461230207 -0400
@@ -187,6 +187,11 @@
 .endif
 .endif
 
+.if ${ARCH} == arm
+	${REINPLACE_CMD} -e 's|.pad #16||' \
+		${PYTHON_WRKSRC}/Modules/_ctypes/libffi/src/arm/sysv.S
+.endif
+
 post-configure:
 	${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${SHARED_WRKSRC} -xf -
 	${LN} -sf ${PYTHON_WRKSRC}/Lib ${WRKSRC}/Lib


More information about the freebsd-ports-bugs mailing list