summaryrefslogtreecommitdiff
path: root/mail/balsa/patches/patch-aa
blob: f7a54a2e60d61ea72154f8595111da8ed958f33a (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
$NetBSD: patch-aa,v 1.8 2002/03/11 00:13:10 jmc Exp $

--- configure.orig	Sun Jan 20 11:45:14 2002
+++ configure
@@ -6593,7 +6593,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lpspell -lstdc++ -lpspell-modules $LIBS"
+LIBS="-lpspell -lstdc++ -lpspell-modules $LIBS -lm"
 cat > conftest.$ac_ext <<EOF
 #line 6599 "configure"
 #include "confdefs.h"
@@ -6627,7 +6627,7 @@
 #define $ac_tr_lib 1
 EOF
 
-  LIBS="-lpspell $LIBS"
+  LIBS="-lpspell -lm $LIBS"
 
 else
   echo "$ac_t""no" 1>&6
@@ -8131,7 +8131,7 @@
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   CATOBJEXT=.mo
-		   DATADIRNAME=lib
+		   DATADIRNAME=${PKGLOCALEDIR}
 fi
 rm -f conftest*
 		INSTOBJEXT=.mo
@@ -9137,10 +9137,10 @@
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
-char iconv_open();
+char libiconv_open();
 
 int main() {
-iconv_open()
+libiconv_open()
 ; return 0; }
 EOF
 if { (eval echo configure:9147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then