summaryrefslogtreecommitdiff
path: root/finance/gnucash/patches/patch-aa
blob: 5697a90bb1a3d14bb7e5fe6b6c4e6d8afafe10dd (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
$NetBSD: patch-aa,v 1.1.1.1 2000/12/11 13:53:26 wiz Exp $

--- configure.orig	Mon Jun 26 09:54:12 2000
+++ configure	Mon Jun 26 18:33:29 2000
@@ -3625,7 +3625,7 @@
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   CATOBJEXT=.mo
-		   DATADIRNAME=lib
+		   DATADIRNAME=share
 fi
 rm -f conftest*
 		INSTOBJEXT=.mo
@@ -3892,7 +3892,7 @@
 		 INTLLIBS=$INTLDEPS
 		 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
 		 nls_cv_header_intl=intl/libintl.h
-		 nls_cv_header_libgt=intl/libgettext.h
+		 nls_cv_header_libgt=${LOCALBASE}/share/gettext/intl/libgettext.h
 	       fi
 else
   echo "$ac_t""no" 1>&6
@@ -4021,7 +4021,7 @@
 	INTLLIBS=$INTLDEPS
 	LIBS=`echo $LIBS | sed -e 's/-lintl//'`
         nls_cv_header_intl=intl/libintl.h
-        nls_cv_header_libgt=intl/libgettext.h
+        nls_cv_header_libgt=${LOCALBASE}/share/gettext/intl/libgettext.h
       fi
 
             if test "$XGETTEXT" != ":"; then
@@ -4038,7 +4038,7 @@
     else
       DATADIRNAME=share
       nls_cv_header_intl=intl/libintl.h
-      nls_cv_header_libgt=intl/libgettext.h
+      nls_cv_header_libgt=${LOCALBASE}/share/gettext/intl/libgettext.h
     fi
     
     
@@ -6397,10 +6397,10 @@
   set $ac_dests; ac_dest=$1; shift; ac_dests=$*
   set $ac_sources; ac_source=$1; shift; ac_sources=$*
 
-  echo "linking $srcdir/$ac_source to $ac_dest"
+  echo "linking $ac_source to $ac_dest"
 
-  if test ! -r $srcdir/$ac_source; then
-    { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
+  if test ! -r $ac_source; then
+    { echo "configure: error: $ac_source: File not found" 1>&2; exit 1; }
   fi
   rm -f $ac_dest
 
@@ -6418,15 +6418,15 @@
   fi
 
   case "$srcdir" in
-  [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
-  *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
+  [/$]*) ac_rel_source="$ac_source" ;;
+  *) ac_rel_source="$ac_source" ;;
   esac
 
   # Make a symlink if possible; otherwise try a hard link.
   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
-    ln $srcdir/$ac_source $ac_dest; then :
+    ln $ac_source $ac_dest; then :
   else
-    { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
+    { echo "configure: error: can not link $ac_dest to $ac_source" 1>&2; exit 1; }
   fi
 done
 EOF