diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2011-03-11 05:38:57 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2011-03-11 05:38:57 +0000 |
commit | 674f8a50d07d5f5436c98ed1922df5bd3da44caf (patch) | |
tree | 98c4c88008f6848d9750597217a561643e55e677 /lang/python27 | |
parent | f130e77d5caef67d2ad2972d2ef5b64141d26a73 (diff) |
Notes
Diffstat (limited to 'lang/python27')
-rw-r--r-- | lang/python27/Makefile | 5 | ||||
-rw-r--r-- | lang/python27/files/patch-Modules-_ctypes-libffi-configure | 15 |
2 files changed, 17 insertions, 3 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile index c14d405fde8f..edbd84407845 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -121,11 +121,14 @@ PLIST_SUB+= X86_ONLY="" .else PLIST_SUB+= X86_ONLY="@comment " .endif -.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == alpha +.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == alpha || ${ARCH} == powerpc64 PLIST_SUB+= 32BIT_ONLY="@comment " .else PLIST_SUB+= 32BIT_ONLY="" .endif +.if ${ARCH} == powerpc64 +MAKE_ENV+= UNAME_m="powerpc64" +.endif .if ${ARCH} == sparc64 CFLAGS+= -DPYTHON_DEFAULT_RECURSION_LIMIT=900 .endif diff --git a/lang/python27/files/patch-Modules-_ctypes-libffi-configure b/lang/python27/files/patch-Modules-_ctypes-libffi-configure index 2b93f8297f96..096e58002326 100644 --- a/lang/python27/files/patch-Modules-_ctypes-libffi-configure +++ b/lang/python27/files/patch-Modules-_ctypes-libffi-configure @@ -1,5 +1,5 @@ ---- Modules/_ctypes/libffi/configure.orig 2010-03-20 02:59:20.000000000 +0800 -+++ Modules/_ctypes/libffi/configure 2010-06-04 10:04:38.000000000 +0800 +--- Modules/_ctypes/libffi/configure.orig 2010-03-19 19:59:20.000000000 +0100 ++++ Modules/_ctypes/libffi/configure 2011-03-06 09:20:16.000000000 +0100 @@ -6289,7 +6289,7 @@ rm -rf conftest* ;; @@ -9,3 +9,14 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext +@@ -11275,6 +11275,9 @@ + powerpc-*-freebsd*) + TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc + ;; ++ powerpc64-*-freebsd*) ++ TARGET=POWERPC; TARGETDIR=powerpc ++ ;; + powerpc*-*-rtems*) + TARGET=POWERPC; TARGETDIR=powerpc + ;; + |