aboutsummaryrefslogblamecommitdiff
path: root/math/sage/files/spkg-patch-python-2.7.2.p4_-_src_Modules__ctypes_libffi_configure
blob: e320f86715edc472eb255669cacaad49a914aab4 (plain) (tree)




















                                                                                                   
--- python-2.7.2.p4/src/Modules/_ctypes/libffi/configure.orig	2011-06-11 15:46:26.000000000 +0000
+++ python-2.7.2.p4/src/Modules/_ctypes/libffi/configure	2012-04-22 00:23:14.000000000 +0000
@@ -6289,7 +6289,7 @@
   rm -rf conftest*
   ;;
 
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
+amd64-*-freebsd*|x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 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
 	;;