summaryrefslogtreecommitdiff
path: root/devel/kdbg/patches/patch-aa
blob: 7c5c2f944c8e11797d6917060f081914b8e4330c (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
26
27
28
29
30
$NetBSD: patch-aa,v 1.8 2003/07/30 15:19:22 markd Exp $

--- configure.orig	2003-06-10 07:49:15.000000000 +1200
+++ configure
@@ -11557,7 +11557,7 @@ fi
 test=NONE
 qt_libdir=NONE
 for dir in $qt_libdirs; do
-  try=`ls -1 $dir/libqt*.{so,a} 2> /dev/null`
+  try=`ls -1 $dir/libqt*.so $dir/libqt*.a 2> /dev/null`
   if test -n "$try"; then qt_libdir=$dir; break; else echo "tried $dir" >&5 ; fi
 done
 
@@ -11577,7 +11577,7 @@ ac_ldflags_safe="$LDFLAGS"
 ac_libs_safe="$LIBS"
 
 CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
-LDFLAGS="-L$qt_libdir $all_libraries"
+LDFLAGS="-L$qt_libdir $all_libraries $USER_LDFLAGS"
 LIBS="$LIBS $LIBQT"
 
 
@@ -14170,6 +14170,7 @@ fi
 
 
 CXXFLAGS="$ac_cxxflags_safe"
+LDFLAGS="$LDFLAGS $X_LDFLAGS $USER_LDFLAGS"
 
 echo "$as_me:$LINENO: result: $this_is_kde3" >&5
 echo "${ECHO_T}$this_is_kde3" >&6