summaryrefslogtreecommitdiff
path: root/editors/vim-kde/patches/patch-ab
blob: b405a955def22f960ddde939c5a4d2826d9c460f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ab,v 1.1 2006/03/28 22:29:53 joerg Exp $

--- configure.orig	2003-06-14 17:38:46.000000000 +0000
+++ configure
@@ -4002,16 +4002,16 @@ echo "configure:3990: checking for QT ve
 						if test "x$enable_rpath" = "xyes"; then
 				if test $qt_major_version = 2; then
 					GUI_LIB_LOC="-L$KDE_LIBS -lkfile -L$QT_LIBS -lqt $GUI_LIB_LOC \
--Wl,--rpath -Wl,$KDE_LIBS -Wl,--rpath -Wl,$QT_LIBS"
+-Wl,--rpath -Wl,$KDE_LIBS -Wl,--rpath -Wl,$QT_LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
 				else 
 					GUI_LIB_LOC="-L$KDE_LIBS -lkio -L$QT_LIBS -lqt-mt $GUI_LIB_LOC \
--Wl,--rpath -Wl,$KDE_LIBS -Wl,--rpath -Wl,$QT_LIBS"
+-Wl,--rpath -Wl,$KDE_LIBS -Wl,--rpath -Wl,$QT_LIBS ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
 				fi
 			else
 				if test $qt_major_version = 2; then
-					GUI_LIB_LOC="-L$KDE_LIBS -lkfile -L$QT_LIBS -lqt $GUI_LIB_LOC"
+					GUI_LIB_LOC="-L$KDE_LIBS -lkfile -L$QT_LIBS -lqt $GUI_LIB_LOC ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
 				else 
-					GUI_LIB_LOC="-L$KDE_LIBS -lkio -L$QT_LIBS -lqt-mt $GUI_LIB_LOC"
+					GUI_LIB_LOC="-L$KDE_LIBS -lkio -L$QT_LIBS -lqt-mt $GUI_LIB_LOC ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
 				fi
 			fi