aboutsummaryrefslogtreecommitdiff
path: root/net/netatalk-devel/files/patch-configure
blob: 4c9f83c7ad7e8f9b8c961ada2b32c048dee0563e (plain) (blame)
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
--- configure.orig	Mon Mar 22 19:23:09 2004
+++ configure	Sat Jun  5 21:58:37 2004
@@ -14156,7 +14156,7 @@
 
 	trybdbdir=""
 	dobdbsearch=yes
-	bdb_search_dirs="/usr/local/include/db4 /usr/local/include /usr/include/db4 /usr/include"
+	bdb_search_dirs="/usr/local/include/db41 /usr/local/include /usr/include/db4 /usr/include"
 
 
 
@@ -14168,7 +14168,7 @@
 		elif test "x$withval" = "xyes"; then
 			dobdbsearch=yes
 		else
-			bdb_search_dirs="$withval/include/db4 $withval/include $withval"
+			bdb_search_dirs="$withval/include/db41 $withval/include $withval"
 		fi
 
 fi;
@@ -14181,9 +14181,9 @@
 		if test -f "$bdbdir/db.h" ; then
 			echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6
-			bdblibdir="`echo $bdbdir | sed 's/include\/db4$/lib/'`"
+			bdblibdir="`echo $bdbdir | sed 's/include\/db41$/lib/'`"
 			bdblibdir="`echo $bdblibdir | sed 's/include$/lib/'`"
-			bdbbindir="`echo $bdbdir | sed 's/include\/db4$/bin/'`"
+			bdbbindir="`echo $bdbdir | sed 's/include\/db41$/bin/'`"
 			bdbbindir="`echo $bdbbindir | sed 's/include$/bin/'`"
 
 			savedcflags="$CFLAGS"
@@ -14196,8 +14196,8 @@
 
 
 			bdbfound=yes
-			LIBS="$LIBS -ldb"
-			BDB_LIBS="-ldb"
+			LIBS="$LIBS -ldb41"
+			BDB_LIBS="-ldb41"
 
 
 			if test "x$bdbfound" = "xyes"; then
@@ -14448,7 +14448,7 @@
 				    BDB_LIBS="-L$bdblibdir $BDB_LIBS"
 				fi
 				BDB_BIN=$bdbbindir
-				BDB_PATH="`echo $bdbdir | sed 's,include\/db4$,,'`"
+				BDB_PATH="`echo $bdbdir | sed 's,include\/db41$,,'`"
 				BDB_PATH="`echo $BDB_PATH | sed 's,include$,,'`"
 			fi
 			CFLAGS="$savedcflags"