aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python22
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python22')
-rw-r--r--lang/python22/Makefile6
-rw-r--r--lang/python22/pkg-plist8
2 files changed, 10 insertions, 4 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index 82dcf8db72d2..b37625756592 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -95,4 +95,10 @@ post-install:
(cd ${DEMODIR}; tar xf -)
.endif
+.if ${ARCH} == i386
+PLIST_SUB+= X86_ONLY=""
+.else
+PLIST_SUB+= X86_ONLY="@comment "
+.endif
+
.include <bsd.port.post.mk>
diff --git a/lang/python22/pkg-plist b/lang/python22/pkg-plist
index 2340b7709813..f9e58fd9f9c1 100644
--- a/lang/python22/pkg-plist
+++ b/lang/python22/pkg-plist
@@ -986,7 +986,7 @@ lib/%%PYTHON_VERSION%%/lib-dynload/_socket.so
lib/%%PYTHON_VERSION%%/lib-dynload/_testcapi.so
lib/%%PYTHON_VERSION%%/lib-dynload/_weakref.so
lib/%%PYTHON_VERSION%%/lib-dynload/array.so
-lib/%%PYTHON_VERSION%%/lib-dynload/audioop.so
+%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/audioop.so
lib/%%PYTHON_VERSION%%/lib-dynload/binascii.so
lib/%%PYTHON_VERSION%%/lib-dynload/bsddb.so
lib/%%PYTHON_VERSION%%/lib-dynload/cPickle.so
@@ -996,9 +996,9 @@ lib/%%PYTHON_VERSION%%/lib-dynload/crypt.so
lib/%%PYTHON_VERSION%%/lib-dynload/dbm.so
lib/%%PYTHON_VERSION%%/lib-dynload/errno.so
lib/%%PYTHON_VERSION%%/lib-dynload/fcntl.so
-lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so
+%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so
lib/%%PYTHON_VERSION%%/lib-dynload/grp.so
-lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so
+%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so
lib/%%PYTHON_VERSION%%/lib-dynload/math.so
lib/%%PYTHON_VERSION%%/lib-dynload/md5.so
lib/%%PYTHON_VERSION%%/lib-dynload/mmap.so
@@ -1010,7 +1010,7 @@ lib/%%PYTHON_VERSION%%/lib-dynload/pwd.so
lib/%%PYTHON_VERSION%%/lib-dynload/readline.so
lib/%%PYTHON_VERSION%%/lib-dynload/regex.so
lib/%%PYTHON_VERSION%%/lib-dynload/resource.so
-lib/%%PYTHON_VERSION%%/lib-dynload/rgbimg.so
+%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/rgbimg.so
lib/%%PYTHON_VERSION%%/lib-dynload/rotor.so
lib/%%PYTHON_VERSION%%/lib-dynload/select.so
lib/%%PYTHON_VERSION%%/lib-dynload/sha.so