pkgsrc/lang/python23/patches/patch-ac
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-ac,v 1.3 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";;