summaryrefslogtreecommitdiff
path: root/lang/python20
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-01-28 09:07:23 +0000
committerdrochner <drochner@pkgsrc.org>2002-01-28 09:07:23 +0000
commit8d19facba57f8929ea5974c80f1efa6d87431e57 (patch)
treea56feac78ff498ba05e6a5787a07fdfbe901895c /lang/python20
parentb165e0fea48c292101c041d64c8af16568f153b0 (diff)
downloadpkgsrc-8d19facba57f8929ea5974c80f1efa6d87431e57.tar.gz
-don't build modules which are known not to work on 64-bit boxes
on any platform (we can make a separate pkg for it later) -pull in a patch which used to be in devel/py-readline here because it is Python version specific -bump PKGREVISION
Diffstat (limited to 'lang/python20')
-rw-r--r--lang/python20/Makefile7
-rw-r--r--lang/python20/distinfo3
-rw-r--r--lang/python20/patches/patch-ac23
3 files changed, 28 insertions, 5 deletions
diff --git a/lang/python20/Makefile b/lang/python20/Makefile
index 61e3cd1ed39..b1dcd529b1d 100644
--- a/lang/python20/Makefile
+++ b/lang/python20/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2002/01/16 20:26:44 drochner Exp $
+# $NetBSD: Makefile,v 1.3 2002/01/28 09:07:23 drochner Exp $
#
DISTNAME= Python-2.0.1
PKGNAME= python20-2.0.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.python.org/pub/python/2.0.1/
EXTRACT_SUFX= .tgz
@@ -39,9 +39,8 @@ SSLFLAGS= -DUSE_SSL -I/usr/include/openssl -lssl -lcrypto
.include "../../mk/bsd.prefs.mk"
-.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
+# don't build modules which don't work on all platforms
NO64BIT=\#
-.endif
.if ${OPSYS} == "SunOS"
ZOULARIS?= ${PREFIX}/bsd
MODADD= -I${ZOULARIS}/include -L${ZOULARIS}/lib -R${ZOULARIS}/lib
diff --git a/lang/python20/distinfo b/lang/python20/distinfo
index d429e776e7c..c4af76f8a67 100644
--- a/lang/python20/distinfo
+++ b/lang/python20/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2002/01/16 20:26:44 drochner Exp $
+$NetBSD: distinfo,v 1.3 2002/01/28 09:07:24 drochner Exp $
SHA1 (python/Python-2.0.1.tgz) = 776584b245ad58ad548732d0c47397c582a4bbab
Size (python/Python-2.0.1.tgz) = 4097453 bytes
SHA1 (patch-aa) = 2db263ea719733692536bb4a9990659099583351
SHA1 (patch-ab) = 670cd69d67566bf61d152e3433161c0f146be1b3
+SHA1 (patch-ac) = 74ff40fc338e8209d91e5da11fdbed497462dd83
diff --git a/lang/python20/patches/patch-ac b/lang/python20/patches/patch-ac
new file mode 100644
index 00000000000..b2eb980f313
--- /dev/null
+++ b/lang/python20/patches/patch-ac
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.1 2002/01/28 09:07:25 drochner Exp $
+
+--- Modules/readline.c.orig Mon Oct 16 23:49:34 2000
++++ Modules/readline.c Tue Aug 7 17:00:33 2001
+@@ -26,18 +26,6 @@
+ #include <unistd.h>
+ #else
+ #include <readline/readline.h> /* You may need to add an -I option to Setup */
+-
+-extern int rl_parse_and_bind(char *);
+-extern int rl_read_init_file(char *);
+-extern int rl_insert_text(char *);
+-extern int rl_bind_key(int, Function *);
+-extern int rl_bind_key_in_map(int, Function *, Keymap);
+-extern int rl_initialize(void);
+-extern int add_history(char *);
+-extern int read_history(char *);
+-extern int write_history(char *);
+-extern int history_truncate_file(char *, int);
+-extern Function *rl_event_hook;
+ #endif
+
+ /* Pointers needed from outside (but not declared in a header file). */