aboutsummaryrefslogtreecommitdiff
path: root/lang/python30
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/python30
parent1bc6ea3fd47853a2ed26e5035786ce57a12ebe36 (diff)
downloadports-e399f180fdd843afa4cfedf5d2ea02338b97a25a.tar.gz
ports-e399f180fdd843afa4cfedf5d2ea02338b97a25a.zip
Notes
Diffstat (limited to 'lang/python30')
-rw-r--r--lang/python30/Makefile6
-rw-r--r--lang/python30/pkg-plist8
2 files changed, 10 insertions, 4 deletions
diff --git a/lang/python30/Makefile b/lang/python30/Makefile
index 82dcf8db72d2..b37625756592 100644
--- a/lang/python30/Makefile
+++ b/lang/python30/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/python30/pkg-plist b/lang/python30/pkg-plist
index 2340b7709813..f9e58fd9f9c1 100644
--- a/lang/python30/pkg-plist
+++ b/lang/python30/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