summaryrefslogtreecommitdiff
path: root/lang/python24
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/python24
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/python24')
-rw-r--r--lang/python24/Makefile3
-rw-r--r--lang/python24/distinfo3
-rw-r--r--lang/python24/patches/patch-an12
3 files changed, 16 insertions, 2 deletions
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 6582a2c8f60..49f01426422 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2005/10/01 21:12:05 recht Exp $
+# $NetBSD: Makefile,v 1.13 2005/11/16 19:18:59 joerg Exp $
#
DISTNAME= Python-2.4.2
PKGNAME= python24-2.4.2
+PKGREVISION= 1
CATEGORIES= lang python
MASTER_SITES= ftp://ftp.python.org/pub/python/2.4.2/
EXTRACT_SUFX= .tar.bz2
diff --git a/lang/python24/distinfo b/lang/python24/distinfo
index 71145704b3f..17e9ed4f057 100644
--- a/lang/python24/distinfo
+++ b/lang/python24/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2005/10/01 21:12:05 recht Exp $
+$NetBSD: distinfo,v 1.15 2005/11/16 19:18:59 joerg Exp $
SHA1 (Python-2.4.2.tar.bz2) = a1f1c466fb4a06f612faac75dbaa8bc81e609c2e
RMD160 (Python-2.4.2.tar.bz2) = c511d2b76b5394742d285e71570a2bcd3c1fa871
@@ -16,3 +16,4 @@ SHA1 (patch-aj) = e471737ade95423039661b475f2dd0fc27aa9dac
SHA1 (patch-ak) = f2e1d4087a94490bd3589a8c829ec72e04f31f72
SHA1 (patch-al) = 5aa766853c353a9ceae4513dc896a1d13a548c6c
SHA1 (patch-am) = 9ce50340d76e8612384f94d4b03414d3f38e35d3
+SHA1 (patch-an) = 0ae5b3d547c7dbe1366c5ae6c60c11516e4550b8
diff --git a/lang/python24/patches/patch-an b/lang/python24/patches/patch-an
new file mode 100644
index 00000000000..35933d76773
--- /dev/null
+++ b/lang/python24/patches/patch-an
@@ -0,0 +1,12 @@
+$NetBSD: patch-an,v 1.7 2005/11/16 19:18:59 joerg Exp $
+
+--- Modules/makesetup.orig 2002-03-29 19:00:18.000000000 +0100
++++ Modules/makesetup
+@@ -164,6 +164,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";;