diff options
author | joerg <joerg@pkgsrc.org> | 2005-11-16 19:18:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-11-16 19:18:58 +0000 |
commit | d4b0eafdb24d64f99389b4c3a1da69d2d2bf5f7a (patch) | |
tree | eaca766da8d53d558f6f53610587f0f7bd170794 /lang/python21/patches | |
parent | 179efa35a6508c0ec14356f46f76c18202cdf531 (diff) | |
download | pkgsrc-d4b0eafdb24d64f99389b4c3a1da69d2d2bf5f7a.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/patches')
-rw-r--r-- | lang/python21/patches/patch-bi | 12 |
1 files changed, 12 insertions, 0 deletions
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";; |