summaryrefslogtreecommitdiff
path: root/finance/kmymoney2/patches/patch-ac
blob: fd6cc9ef66a38ad9d692155a6ab9283381d47636 (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
31
32
33
34
35
36
37
38
39
40
$NetBSD: patch-ac,v 1.4 2006/10/07 12:14:18 markd Exp $

--- configure.orig	2006-05-15 10:21:20.000000000 -0400
+++ configure	2006-07-04 23:56:41.000000000 -0400
@@ -32362,7 +32362,7 @@ echo "${ECHO_T}$kde_cv_path" >&6
 
 
         if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
- 	    kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share `kde-config --prefix`/share"
+ 	    kde_sharedirs="$prefix/share/kde /usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share `kde-config --prefix`/share"
             test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs"
 
 KDE_XSL_STYLESHEET=NO
@@ -34274,7 +34274,7 @@ else
   have_new_ofx="no"
 fi
 
-    if test "$have_new_ofx" == "yes"; then
+    if test "$have_new_ofx" = "yes"; then
       ofx_importerplugin="ofximport"
       ofx_libs="-lofx"
     fi
@@ -34494,7 +34494,7 @@ else
   have_new_ofx="no"
 fi
 
-    if test "$have_new_ofx" == "yes"; then
+    if test "$have_new_ofx" = "yes"; then
 
 cat >>confdefs.h <<_ACEOF
 #define USE_OFX_DIRECTCONNECT "1"
@@ -34521,7 +34521,7 @@ mkdir kmymoney
 
 echo Generating symlinks to header files
 CURDIR=
-if test "x${srcdir:0:1}" != "x/"; then
+if test "x$(echo $srcdir | cut -b 1)" != "x/"; then
   CURDIR=`pwd`/
 fi
 BASEDIR=$CURDIR$srcdir