aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python22
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2002-05-16 20:07:26 +0800
committertg <tg@FreeBSD.org>2002-05-16 20:07:26 +0800
commit0dce145e36cced57605eea4278121cb5a08ebd54 (patch)
treea485d07221ac3c86bcbead5195049c28692651b4 /lang/python22
parent7e3a784aab1b3abbfe08e773a805359f9be148e5 (diff)
downloadfreebsd-ports-gnome-0dce145e36cced57605eea4278121cb5a08ebd54.tar.gz
freebsd-ports-gnome-0dce145e36cced57605eea4278121cb5a08ebd54.tar.zst
freebsd-ports-gnome-0dce145e36cced57605eea4278121cb5a08ebd54.zip
Fix building on the Alpha.
Submitted by: gallatin
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