pkgsrc/lang/python20/patches/patch-ag
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-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";;