summaryrefslogtreecommitdiff
path: root/lang/python/Makefile
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>1998-09-20 20:28:11 +0000
committertsarna <tsarna@pkgsrc.org>1998-09-20 20:28:11 +0000
commit3e3fdba876ed41b476e578a02fa6d6026395d328 (patch)
treee54644f9597ced25b60924f8f6e34e2d151c81e6 /lang/python/Makefile
parent4e03591f723eebe8417b419d44dc9eabddd266c3 (diff)
downloadpkgsrc-3e3fdba876ed41b476e578a02fa6d6026395d328.tar.gz
Make dynamicly loaded modules work on NetBSD/alpha. May work on
NetBSD/mips, if its ELF dlopen support is non-broken. Anyone willing to test this, please get in touch with me. Also, add more recent patches from python.org
Diffstat (limited to 'lang/python/Makefile')
-rw-r--r--lang/python/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 6f19b5767f0..89bec5c09bd 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1998/09/02 22:32:23 tron Exp $
+# $NetBSD: Makefile,v 1.11 1998/09/20 20:28:11 tsarna Exp $
#
DISTNAME= pyth151
@@ -16,7 +16,9 @@ PATCHFILES= freeze.1.txt _tkinter.1.txt configure.1.txt \
configure.2.txt imaplib.1.txt urllib.2.txt \
sgmllib.1.txt bltinmodule.2.txt ceval.1.txt gzip.1.txt \
imaplib.2.txt import.1.txt imaplib.3.txt \
- stringobject.1.txt sgmllib.2.txt
+ stringobject.1.txt sgmllib.2.txt classobject.1.txt \
+ SocketServer.1.txt bltinmodule.3.txt longobject.1.txt \
+ stropmodule.1.txt
MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://www.python.org/
@@ -29,10 +31,10 @@ MAKE_FLAGS+= 'OPT=${CFLAGS}'
# - disable some modules on 64 bit platforms
# - handle machines with no dynamic loader
-.if ${MACHINE_ARCH} == "alpha"
+.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
NO64BIT=\#
.endif
-.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha"
+.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "vax"
NOSHARED=\#
.endif