summaryrefslogtreecommitdiff
path: root/lang/python20
diff options
context:
space:
mode:
authorjoerg <joerg>2005-11-16 19:18:58 +0000
committerjoerg <joerg>2005-11-16 19:18:58 +0000
commitaeb6c4c2f25ca24056dc9939ac70c6ab3ac87922 (patch)
treeeaca766da8d53d558f6f53610587f0f7bd170794 /lang/python20
parent4ca0932dcfc404000f0bc9deaa6b0d15d3bd0d18 (diff)
downloadpkgsrc-aeb6c4c2f25ca24056dc9939ac70c6ab3ac87922.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/python20')
-rw-r--r--lang/python20/Makefile4
-rw-r--r--lang/python20/distinfo3
-rw-r--r--lang/python20/patches/patch-ag12
3 files changed, 16 insertions, 3 deletions
diff --git a/lang/python20/Makefile b/lang/python20/Makefile
index a290821f4e9..8f5750678a4 100644
--- a/lang/python20/Makefile
+++ b/lang/python20/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2005/08/19 06:06:09 grant Exp $
+# $NetBSD: Makefile,v 1.29 2005/11/16 19:18:58 joerg Exp $
#
DISTNAME= Python-2.0.1
PKGNAME= python20-2.0.1
-PKGREVISION= 10
+PKGREVISION= 11
CATEGORIES= lang python
MASTER_SITES= ftp://ftp.python.org/pub/python/2.0.1/
EXTRACT_SUFX= .tgz
diff --git a/lang/python20/distinfo b/lang/python20/distinfo
index 74fe1f24685..e7371d1cc40 100644
--- a/lang/python20/distinfo
+++ b/lang/python20/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2005/08/19 06:12:09 grant Exp $
+$NetBSD: distinfo,v 1.10 2005/11/16 19:18:58 joerg Exp $
SHA1 (python/Python-2.0.1.tgz) = 776584b245ad58ad548732d0c47397c582a4bbab
RMD160 (python/Python-2.0.1.tgz) = fe663234ff4a8b363f10f6e5589acf1d8b00573f
@@ -9,6 +9,7 @@ SHA1 (patch-ac) = 74ff40fc338e8209d91e5da11fdbed497462dd83
SHA1 (patch-ad) = f545b33bde36eac8737458506f3fdb25c0f39b5d
SHA1 (patch-ae) = e962dad92260a1f506298ba3ebb059e852c4ccf4
SHA1 (patch-af) = 9ed51b6868c3c7e24d92b52f0dc260e9c30d99bc
+SHA1 (patch-ag) = 4b1b561832d6a044c6be0372f9f915b09fab4c3c
SHA1 (patch-bb) = adab8436d470acdc07149fdd6eed09c20ebf965e
SHA1 (patch-bc) = fdd18d0fab171364d4733975351fbc60c81d0a4a
SHA1 (patch-cd) = 60107e1857ff4177efebfbf33fcc2df2a50c61fc
diff --git a/lang/python20/patches/patch-ag b/lang/python20/patches/patch-ag
new file mode 100644
index 00000000000..4bb165d7b69
--- /dev/null
+++ b/lang/python20/patches/patch-ag
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1 2005/11/16 19:18:58 joerg Exp $
+
+--- Modules/makesetup.orig 2000-08-11 15:58:37.000000000 +0200
++++ Modules/makesetup
+@@ -145,6 +145,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";;