diff options
Diffstat (limited to 'net-im/psi/files/patch-configure')
-rw-r--r-- | net-im/psi/files/patch-configure | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/net-im/psi/files/patch-configure b/net-im/psi/files/patch-configure index 96858299ad19..4a00387f8cab 100644 --- a/net-im/psi/files/patch-configure +++ b/net-im/psi/files/patch-configure @@ -1,11 +1,6 @@ -$FreeBSD$ - -Hack configure to eat autogenerated qt options -and to do the main Makefile make(1) compatible. - ---- configure.orig Fri Jun 11 13:49:06 2004 -+++ configure Fri Jun 11 14:25:01 2004 -@@ -82,6 +82,8 @@ +--- configure.orig Sat Nov 20 16:05:03 2004 ++++ configure Mon Mar 28 02:12:08 2005 +@@ -94,6 +94,8 @@ shift ;; --help) show_usage; exit ;; @@ -14,7 +9,22 @@ and to do the main Makefile make(1) compatible. *) show_usage; exit ;; esac done -@@ -1035,14 +1037,6 @@ +@@ -882,9 +884,14 @@ + "}\n"; + + QString extra; ++ QString pthread_cflags = getenv("PTHREAD_CFLAGS"); ++ QString pthread_ldflags = getenv("PTHREAD_LDFLAGS"); ++ + if(!path.isEmpty()) + extra += QString("-L") + path + ' '; + extra += QString("-l") + name; ++ extra += ' ' + pthread_cflags + ' ' + pthread_ldflags + ' '; ++ + if(!doCompileAndLink(str, extra)) + return false; + return true; +@@ -1110,14 +1117,6 @@ echo exit 1; fi |