summaryrefslogtreecommitdiff
path: root/lang/python26
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2011-02-24 23:50:28 +0000
committerMark Linimon <linimon@FreeBSD.org>2011-02-24 23:50:28 +0000
commita0d6245c017be9826403b4608893eea0662353c3 (patch)
tree74e30502ed813871cb6a656a74bc44918a306029 /lang/python26
parentChanges to make python ports work on powerpc (32-bit mode; 64-bit not (diff)
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
Notes
Notes: svn path=/head/; revision=269610
Diffstat (limited to 'lang/python26')
-rw-r--r--lang/python26/files/patch-Modules-_ctypes-libffi-configure2
-rw-r--r--lang/python26/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/python26/files/patch-Modules-_ctypes-libffi-configure b/lang/python26/files/patch-Modules-_ctypes-libffi-configure
index a420fe20f4ad..c7371ab62812 100644
--- a/lang/python26/files/patch-Modules-_ctypes-libffi-configure
+++ b/lang/python26/files/patch-Modules-_ctypes-libffi-configure
@@ -5,7 +5,7 @@
;;
-x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
-+amd64-*-freebsd*|x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
++amd64-*-freebsd*|x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|powerpc-*-freebsd*| \
s390*-*linux*|sparc*-*linux*)
# Find out which ABI we are using.
echo 'int i;' > conftest.$ac_ext
diff --git a/lang/python26/pkg-plist b/lang/python26/pkg-plist
index 4044a6266f7c..f786de27c207 100644
--- a/lang/python26/pkg-plist
+++ b/lang/python26/pkg-plist
@@ -790,7 +790,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
%%PYTHON_LIBDIR%%/lib-dynload/_codecs_tw.so
%%PYTHON_LIBDIR%%/lib-dynload/_collections.so
%%PYTHON_LIBDIR%%/lib-dynload/_csv.so
-%%PYTHON_LIBDIR%%/lib-dynload/_ctypes.so
+%%NOT_FOR_POWERPC%%%%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