summaryrefslogtreecommitdiff
path: root/lang/python27
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-05-16 12:07:26 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-05-16 12:07:26 +0000
commite399f180fdd843afa4cfedf5d2ea02338b97a25a (patch)
treec37875822dcb7cde9a8bee447222fd5e9f119809 /lang/python27
parent- Update to 3.2.2; (diff)
Fix building on the Alpha.
Submitted by: gallatin
Notes
Notes: svn path=/head/; revision=59259
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile6
-rw-r--r--lang/python27/pkg-plist8
2 files changed, 10 insertions, 4 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 82dcf8db72d2..b37625756592 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/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/python27/pkg-plist b/lang/python27/pkg-plist
index 2340b7709813..f9e58fd9f9c1 100644
--- a/lang/python27/pkg-plist
+++ b/lang/python27/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