aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2011-02-25 07:50:26 +0800
committerlinimon <linimon@FreeBSD.org>2011-02-25 07:50:26 +0800
commit8a2828a032715bf1d2f3d355a7d10a5c489b4931 (patch)
treeee22cbe7d96a24ba4da96b83bb1c8d2409459b6b
parent7341bd39d80179972ff95cf42b9ecc551595afcf (diff)
downloadfreebsd-ports-gnome-8a2828a032715bf1d2f3d355a7d10a5c489b4931.tar.gz
freebsd-ports-gnome-8a2828a032715bf1d2f3d355a7d10a5c489b4931.tar.zst
freebsd-ports-gnome-8a2828a032715bf1d2f3d355a7d10a5c489b4931.zip
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
-rw-r--r--lang/python25/Makefile5
-rw-r--r--lang/python25/pkg-plist4
-rw-r--r--lang/python26/Makefile5
3 files changed, 2 insertions, 12 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index 6096791061aa..6482193949e1 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -90,11 +90,6 @@ CONFIGURE_ARGS+= --enable-unicode=ucs4
CONFIGURE_ARGS+= --without-pymalloc
.endif
-.if ${ARCH} == i386
-PLIST_SUB+= X86_ONLY=""
-.else
-PLIST_SUB+= X86_ONLY="@comment "
-.endif
.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == alpha
PLIST_SUB+= 32BIT_ONLY="@comment "
.else
diff --git a/lang/python25/pkg-plist b/lang/python25/pkg-plist
index f6936e168edc..b8494174919b 100644
--- a/lang/python25/pkg-plist
+++ b/lang/python25/pkg-plist
@@ -674,7 +674,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
%%32BIT_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/dl.so
%%PYTHON_LIBDIR%%/lib-dynload/fcntl.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
@@ -685,7 +685,7 @@ lib/lib%%PYTHON_VERSION%%.so.1
%%PYTHON_LIBDIR%%/lib-dynload/pyexpat.so
%%PYTHON_LIBDIR%%/lib-dynload/readline.so
%%PYTHON_LIBDIR%%/lib-dynload/resource.so
-%%X86_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/rgbimg.so
+%%32BIT_ONLY%%%%PYTHON_LIBDIR%%/lib-dynload/rgbimg.so
%%PYTHON_LIBDIR%%/lib-dynload/select.so
%%PYTHON_LIBDIR%%/lib-dynload/strop.so
%%PYTHON_LIBDIR%%/lib-dynload/syslog.so
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index 1aa95f034409..8a69947b1d68 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/Makefile
@@ -115,11 +115,6 @@ CONFIGURE_ARGS+= --enable-unicode=ucs4
CONFIGURE_ARGS+= --without-pymalloc
.endif
-.if ${ARCH} == i386
-PLIST_SUB+= X86_ONLY=""
-.else
-PLIST_SUB+= X86_ONLY="@comment "
-.endif
.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64 || ${ARCH} == alpha
PLIST_SUB+= 32BIT_ONLY="@comment "
.else