diff options
author | joerg <joerg> | 2005-11-16 19:18:58 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-11-16 19:18:58 +0000 |
commit | aeb6c4c2f25ca24056dc9939ac70c6ab3ac87922 (patch) | |
tree | eaca766da8d53d558f6f53610587f0f7bd170794 /lang/python21 | |
parent | 4ca0932dcfc404000f0bc9deaa6b0d15d3bd0d18 (diff) | |
download | pkgsrc-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/python21')
-rw-r--r-- | lang/python21/Makefile | 4 | ||||
-rw-r--r-- | lang/python21/distinfo | 3 | ||||
-rw-r--r-- | lang/python21/patches/patch-bi | 12 |
3 files changed, 16 insertions, 3 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile index 55db82a93d4..6ed92fa250f 100644 --- a/lang/python21/Makefile +++ b/lang/python21/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.24 2005/11/01 21:49:31 adrianp Exp $ +# $NetBSD: Makefile,v 1.25 2005/11/16 19:18:58 joerg Exp $ # DISTNAME= Python-2.1.3 PKGNAME= python21-2.1.3 -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= lang python MASTER_SITES= ftp://ftp.python.org/pub/python/2.1.3/ EXTRACT_SUFX= .tgz diff --git a/lang/python21/distinfo b/lang/python21/distinfo index 14aba28c799..2c04fe6a59a 100644 --- a/lang/python21/distinfo +++ b/lang/python21/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.22 2005/11/10 23:39:24 joerg Exp $ +$NetBSD: distinfo,v 1.23 2005/11/16 19:18:58 joerg Exp $ SHA1 (Python-2.1.3.tgz) = 7042a5c5fd60d334c0ac227885d68a4c305713b4 RMD160 (Python-2.1.3.tgz) = d7216480cf884507d97bf7932767871977fc1ccc @@ -19,3 +19,4 @@ SHA1 (patch-be) = e1e5675e8b1059bd7836f8f23382a8305382a91b SHA1 (patch-bf) = 5a4f05c563d46c66485780c8dd8badac624c4f49 SHA1 (patch-bg) = 2e0733e66681582d36b1470dce50c8e8b43cd083 SHA1 (patch-bh) = fa0d154bc5e1ccb1d59b2902aa61df8c91d52b2d +SHA1 (patch-bi) = 19e9e7ecba296b6fd955087f0dad85c52dfee058 diff --git a/lang/python21/patches/patch-bi b/lang/python21/patches/patch-bi new file mode 100644 index 00000000000..87cbf0aeced --- /dev/null +++ b/lang/python21/patches/patch-bi @@ -0,0 +1,12 @@ +$NetBSD: patch-bi,v 1.1 2005/11/16 19:18:58 joerg Exp $ + +--- Modules/makesetup.orig 2005-11-16 15:48:30.000000000 +0100 ++++ 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";; |