mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
Changes to make python ports work on powerpc (32-bit mode; 64-bit not
yet tested). Tested on: powerpc, i386 Hat: portmgr PR: ports/153657 (partial) Submitted by: andreast
This commit is contained in:
parent
a24db69934
commit
314cb862ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269609
@ -115,6 +115,11 @@ CONFIGURE_ARGS+= --enable-unicode=ucs4
|
||||
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
|
||||
PLIST_SUB+= 32BIT_ONLY="@comment "
|
||||
.else
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- Modules/_ctypes/libffi/src/powerpc/ffitarget.h.orig 2009-12-28 12:29:03.000000000 +0000
|
||||
+++ Modules/_ctypes/libffi/src/powerpc/ffitarget.h 2009-12-28 12:30:11.000000000 +0000
|
||||
@@ -78,6 +78,8 @@
|
||||
FFI_SYSV,
|
||||
FFI_GCC_SYSV,
|
||||
FFI_LINUX64,
|
||||
+ FFI_LINUX,
|
||||
+ FFI_LINUX_SOFT_FLOAT,
|
||||
FFI_DEFAULT_ABI = FFI_SYSV,
|
||||
#endif
|
@ -828,7 +828,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
|
||||
%%PYTHON_LIBDIR%%/lib-dynload/fcntl.so
|
||||
%%PYTHON_LIBDIR%%/lib-dynload/future_builtins.so
|
||||
%%PYTHON_LIBDIR%%/lib-dynload/grp.so
|
||||
%%X86_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/imageop.so
|
||||
%%32BIT_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/imageop.so
|
||||
%%PYTHON_LIBDIR%%/lib-dynload/itertools.so
|
||||
%%PYTHON_LIBDIR%%/lib-dynload/math.so
|
||||
%%PYTHON_LIBDIR%%/lib-dynload/mmap.so
|
||||
|
Loading…
Reference in New Issue
Block a user