summaryrefslogtreecommitdiffstats
path: root/lang/python30
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2002-05-16 12:07:26 +0000
committertg <tg@FreeBSD.org>2002-05-16 12:07:26 +0000
commit0dce145e36cced57605eea4278121cb5a08ebd54 (patch)
treea485d07221ac3c86bcbead5195049c28692651b4 /lang/python30
parent7e3a784aab1b3abbfe08e773a805359f9be148e5 (diff)
downloadFreeBSD-ports-0dce145e36cced57605eea4278121cb5a08ebd54.zip
FreeBSD-ports-0dce145e36cced57605eea4278121cb5a08ebd54.tar.gz
Fix building on the Alpha.
Submitted by: gallatin
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 82dcf8d..b376257 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 2340b77..f9e58fd9 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
OpenPOWER on IntegriCloud