1 Return-Path: <sojkam1@fel.cvut.cz>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 7995740D14A
\r
6 for <notmuch@notmuchmail.org>; Thu, 21 Oct 2010 23:01:51 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id XbEMGL-4uLlu for <notmuch@notmuchmail.org>;
\r
16 Thu, 21 Oct 2010 23:01:41 -0700 (PDT)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id DB2B640D149
\r
19 for <notmuch@notmuchmail.org>; Thu, 21 Oct 2010 23:01:40 -0700 (PDT)
\r
20 Received: from localhost (unknown [192.168.200.4])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 3C76E19F33E0;
\r
22 Fri, 22 Oct 2010 08:01:40 +0200 (CEST)
\r
23 X-Virus-Scanned: IMAP AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,
\r
27 with ESMTP id 8NJbqVbhzw+v; Fri, 22 Oct 2010 08:01:39 +0200 (CEST)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id D7F9C19F33C7;
\r
30 Fri, 22 Oct 2010 08:01:38 +0200 (CEST)
\r
31 Received: from steelpick.2x.cz (note-sojka.felk.cvut.cz [147.32.86.30])
\r
32 (Authenticated sender: sojkam1)
\r
33 by imap.feld.cvut.cz (Postfix) with ESMTPSA id D1C6BFA007;
\r
34 Fri, 22 Oct 2010 08:01:38 +0200 (CEST)
\r
35 Received: from wsh by steelpick.2x.cz with local (Exim 4.72)
\r
36 (envelope-from <sojkam1@fel.cvut.cz>)
\r
37 id 1P9Ah8-0003TI-PV; Fri, 22 Oct 2010 08:01:38 +0200
\r
38 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
39 To: notmuch@notmuchmail.org
\r
40 Subject: [PATCH] Makefile: Do not call ldconfig when DESTDIR is defined
\r
41 Date: Fri, 22 Oct 2010 08:01:28 +0200
\r
42 Message-Id: <1287727288-13317-1-git-send-email-sojkam1@fel.cvut.cz>
\r
43 X-Mailer: git-send-email 1.7.2.3
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Fri, 22 Oct 2010 06:01:51 -0000
\r
58 If make install is called with non-empty DESTDIR, calling ldconfig has
\r
59 usually no sense. Without this patch dpkg-buildpackage fails with
\r
61 make[1]: ldconfig: Command not found
\r
63 Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>
\r
65 This patch first appeared in id:87ljaf6p51.fsf@steelpick.2x.cz
\r
67 lib/Makefile.local | 2 ++
\r
68 1 files changed, 2 insertions(+), 0 deletions(-)
\r
70 diff --git a/lib/Makefile.local b/lib/Makefile.local
\r
71 index a60ef98..2d36db1 100644
\r
72 --- a/lib/Makefile.local
\r
73 +++ b/lib/Makefile.local
\r
74 @@ -36,9 +36,11 @@ SONAME = $(LINKER_NAME).$(LIBNOTMUCH_VERSION_MAJOR)
\r
75 LIBNAME = $(SONAME).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE)
\r
76 LIBRARY_LINK_FLAG = -shared -Wl,-soname=$(SONAME)
\r
77 ifeq ($(LIBDIR_IN_LDCONFIG),1)
\r
79 LIBRARY_INSTALL_POST_COMMAND=ldconfig
\r
85 extra_cflags += -I$(dir) -fPIC
\r
87 tg: (f117d80..) t/fix-ldconfig-for-deb (depends on: master)
\r