From 7964dec3d2e620c47fcbdaf00336f5aaf56da0b6 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Wed, 15 May 2002 23:36:33 +0000 Subject: [PATCH] Comment out some files from pkg-plist which are not built on alpha. Submitted by: gallatin --- lang/python21/Makefile | 6 ++++++ lang/python21/pkg-plist | 6 +++--- 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 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