pkgsrc/lang/python21/patches/patch-bi
joerg d4b0eafdb2 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.
2005-11-16 19:18:58 +00:00

12 lines
450 B
Text

$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";;