diff options
-rw-r--r-- | lang/python21/Makefile | 6 | ||||
-rw-r--r-- | lang/python21/pkg-plist | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile index 770203d..62925a7 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 91ebd6c..7eb425e 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 |