summaryrefslogtreecommitdiff
path: root/lang/python22
diff options
context:
space:
mode:
authorjoerg <joerg>2005-11-16 19:18:58 +0000
committerjoerg <joerg>2005-11-16 19:18:58 +0000
commit9043e1fdd47075d6bd1a7953cf56f29cc0ec5378 (patch)
treeeaca766da8d53d558f6f53610587f0f7bd170794 /lang/python22
parent4ea5015db5997b9bd6863a006f465307bf33b61c (diff)
downloadpkgsrc-9043e1fdd47075d6bd1a7953cf56f29cc0ec5378.tar.gz
Fix Python's makesetup script to treat -pthread as linker flag.
This is needed for databases/py-psycopg at least to compile properly. Since the installed version changed, bump revision.
Diffstat (limited to 'lang/python22')
-rw-r--r--lang/python22/Makefile4
-rw-r--r--lang/python22/distinfo3
-rw-r--r--lang/python22/patches/patch-ac12
3 files changed, 16 insertions, 3 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index 63fc8a7db8e..aa4ee9b356c 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2005/10/01 19:59:39 recht Exp $
+# $NetBSD: Makefile,v 1.29 2005/11/16 19:18:58 joerg Exp $
#
DISTNAME= Python-2.2.3
PKGNAME= python22-2.2.3
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= lang python
MASTER_SITES= ftp://ftp.python.org/pub/python/2.2.3/
EXTRACT_SUFX= .tgz
diff --git a/lang/python22/distinfo b/lang/python22/distinfo
index 10ca5c533a4..902e9ecb08a 100644
--- a/lang/python22/distinfo
+++ b/lang/python22/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.17 2005/10/01 19:59:39 recht Exp $
+$NetBSD: distinfo,v 1.18 2005/11/16 19:18:58 joerg Exp $
SHA1 (Python-2.2.3.tgz) = 177d587e77e0eaa14131ab0d0d0b470777de4400
RMD160 (Python-2.2.3.tgz) = 3590f813582d65194b467f4ab450e360e35eb40e
Size (Python-2.2.3.tgz) = 6709556 bytes
SHA1 (patch-aa) = e4d0ec82dc34b7c60fb926e10c205bdf0ea6cabd
SHA1 (patch-ab) = aa06824d9f595a24aaddc96c83f31646f522ab09
+SHA1 (patch-ac) = 533d4c75b12f83a60808b784b794e200c4fa363f
SHA1 (patch-ae) = aefeec78e25631a6e9e2aa047dce12c9c522715e
SHA1 (patch-af) = a2b23859941766319f638e40c49b5af3f504ef52
SHA1 (patch-ai) = 02f530a08fd8b61a696ae43ddabd7e86e4af7727
diff --git a/lang/python22/patches/patch-ac b/lang/python22/patches/patch-ac
new file mode 100644
index 00000000000..a83bb66f136
--- /dev/null
+++ b/lang/python22/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.3 2005/11/16 19:18:59 joerg Exp $
+
+--- Modules/makesetup.orig 2001-06-02 08:16:02.000000000 +0200
++++ Modules/makesetup
+@@ -163,6 +163,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
+ -rpath) libs="$libs $arg"; skip=libs;;
+ --rpath) libs="$libs $arg"; skip=libs;;
+ -[A-Zl]*) libs="$libs $arg";;
++ -pthread) libs="$libs $arg";;
+ *.a) libs="$libs $arg";;
+ *.so) libs="$libs $arg";;
+ *.sl) libs="$libs $arg";;