summaryrefslogtreecommitdiff
path: root/mail/balsa/patches/patch-aa
blob: 118d59f04ce1d1914a3dcb4f21fc770274ba0c9a (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
$NetBSD: patch-aa,v 1.6 2002/01/24 13:59:57 wiz Exp $

--- configure.orig	Wed Oct 18 11:06:28 2000
+++ configure
@@ -3436,7 +3436,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lpspell  $LIBS"
+LIBS="-lpspell  $LIBS -lm"
 cat > conftest.$ac_ext <<EOF
 #line 3442 "configure"
 #include "confdefs.h"
@@ -5018,7 +5018,7 @@
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   CATOBJEXT=.mo
-		   DATADIRNAME=lib
+		   DATADIRNAME=${PKGLOCALEDIR}
 fi
 rm -f conftest*
 		INSTOBJEXT=.mo
@@ -5280,7 +5280,7 @@
 		 USE_INCLUDED_LIBINTL=yes
 		 CATOBJEXT=.cat
 		 INSTOBJEXT=.cat
-		 DATADIRNAME=lib
+		 DATADIRNAME=${PKGLOCALEDIR}
 		 INTLDEPS='$(top_builddir)/intl/libintl.a'
 		 INTLLIBS=$INTLDEPS
 		 LIBS=`echo $LIBS | sed -e 's/-lintl//'`