File: tokyocabinet_dependencies.patch

package info (click to toggle)
mailutils 1%3A2.99.98-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 31,016 kB
  • ctags: 18,412
  • sloc: ansic: 159,406; sh: 73,526; yacc: 5,832; cpp: 3,827; makefile: 2,902; lex: 2,046; python: 1,652; exp: 1,262; lisp: 782; awk: 200; sed: 31
file content (28 lines) | stat: -rw-r--r-- 1,469 bytes parent folder | download | duplicates (2)
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
Author: Jordi Mallach <jordi@debian.org>
Description: Do not set hardcoded DEPENDENCIES for tokyo or kyoto cabinet.
 Tokyo Cabinet and Kyoto Cabinet support force the inclusion of -lz -lbz2
 and -lrt into DEPENDENCIES, while none of the symbols in those libraries
 are used. Avoid hardcoding them and let both libs decide what needs to
 be added to DBMLIBS.
Forwarded: yes

Index: mailutils-2.99.98/configure.ac
===================================================================
--- mailutils-2.99.98.orig/configure.ac	2013-03-21 08:05:04.000000000 +0100
+++ mailutils-2.99.98/configure.ac	2013-07-03 09:52:24.050630432 +0200
@@ -566,7 +566,6 @@
                        [AC_CHECK_HEADERS(tchdb.h,
                                          AC_DEFINE(WITH_TOKYOCABINET,1,
                                                  [Enable use of Tokyo Cabinet]))
-		       DBMLIB_DEPENDENCY="$DBMLIB_DEPENDENCY -lz -lbz2 -lrt"
                        DBMLIBS="$DBMLIBS -ltokyocabinet"
                        status_dbm="$status_dbm,Tokyo Cabinet"]);;
 
@@ -575,7 +574,6 @@
                        [AC_CHECK_HEADERS(kclangc.h,
                                          AC_DEFINE(WITH_KYOTOCABINET,1,
                                                  [Enable use of Kyoto Cabinet]))
-		       DBMLIB_DEPENDENCY="$DBMLIB_DEPENDENCY -lz -lbz2 -lrt"
                        DBMLIBS="$DBMLIBS -lkyotocabinet"
                        status_dbm="$status_dbm,Kyoto Cabinet"]);;
   esac