aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-05-16 07:36:33 +0800
committerkris <kris@FreeBSD.org>2002-05-16 07:36:33 +0800
commitfd2be5f1d0dd79389530245a808447f9055b3617 (patch)
treef891e2272036e9732583e65636486315401e10a5 /lang
parent0763d765872cbda53dc540fcf88e6951c5bcd822 (diff)
downloadfreebsd-ports-gnome-fd2be5f1d0dd79389530245a808447f9055b3617.tar.gz
freebsd-ports-gnome-fd2be5f1d0dd79389530245a808447f9055b3617.tar.zst
freebsd-ports-gnome-fd2be5f1d0dd79389530245a808447f9055b3617.zip
Comment out some files from pkg-plist which are not built on alpha.
Submitted by: gallatin
Diffstat (limited to 'lang')
-rw-r--r--lang/python21/Makefile6
-rw-r--r--lang/python21/pkg-plist6
2 files changed, 9 insertions, 3 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index 770203d70b1f..62925a785895 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -90,4 +90,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/python21/pkg-plist b/lang/python21/pkg-plist
index 91ebd6cac0ca..7eb425ed8f53 100644
--- a/lang/python21/pkg-plist
+++ b/lang/python21/pkg-plist
@@ -862,7 +862,7 @@ lib/%%PYTHON_VERSION%%/lib-dynload/_symtable.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
@@ -874,7 +874,7 @@ lib/%%PYTHON_VERSION%%/lib-dynload/errno.so
lib/%%PYTHON_VERSION%%/lib-dynload/fcntl.so
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
@@ -887,7 +887,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