Re: [PATCH v2] Omit User-Agent: header by default
[notmuch-archives.git] / 12 / 578405c6d68c876f1b6ecbca78fe76f0139b66
1 Return-Path: <david@tethera.net>\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 arlo.cworth.org (Postfix) with ESMTP id EBA446DE0FF8\r
6  for <notmuch@notmuchmail.org>; Tue, 30 Jun 2015 23:09:04 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.173\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.173 tagged_above=-999 required=5 tests=[AWL=0.173]\r
12  autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id leSh4VxCHq_9 for <notmuch@notmuchmail.org>;\r
16  Tue, 30 Jun 2015 23:09:02 -0700 (PDT)\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
18  [87.98.215.224])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 82E716DE0B44\r
20  for <notmuch@notmuchmail.org>; Tue, 30 Jun 2015 23:09:01 -0700 (PDT)\r
21 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
22  4.80) (envelope-from <david@tethera.net>)\r
23  id 1ZABBn-00072C-Fp; Wed, 01 Jul 2015 06:08:07 +0000\r
24 Received: (nullmailer pid 26637 invoked by uid 1000); Wed, 01 Jul 2015\r
25  06:07:48 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Nate Eagleson <nate@nateeag.com>, notmuch@notmuchmail.org\r
28 Subject: Re: [PATCH] build: Support Mac OS X 10.6.8\r
29 In-Reply-To: <1435699747-13591-2-git-send-email-nate@nateeag.com>\r
30 References: <1435699747-13591-1-git-send-email-nate@nateeag.com>\r
31  <1435699747-13591-2-git-send-email-nate@nateeag.com>\r
32 User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.4.1\r
33  (x86_64-pc-linux-gnu)\r
34 Date: Wed, 01 Jul 2015 08:07:48 +0200\r
35 Message-ID: <87egksjtqj.fsf@maritornes.cs.unb.ca>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.18\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42  <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Wed, 01 Jul 2015 06:09:05 -0000\r
51 \r
52 Nate Eagleson <nate@nateeag.com> writes:\r
53 \r
54 > OS X 10.6.8 has a built-in library named libutil.dylib and a version\r
55 > of ld that picks that up instead of util/libutil.a.\r
56 >\r
57 > We now use an absolute path to util/libutil.a, so that notmuch can be\r
58 > built successfully on 10.6.8.\r
59 \r
60 I'd like a one line subject that mentions libutil.a and perhaps\r
61 "absolute path"\r
62 \r
63 >  \r
64 > +# Mac OS X 10.6 has a built-in libutil.dylib that prevents ld from\r
65 > +# picking up notmuch's libutil.a. The best way to prefer our local\r
66 > +# libutil.a is to specify it via absolute path, which should work on\r
67 > +# all supported OSes.\r
68 > +LIBUTIL_PATH=${srcdir}/util/libutil.a\r
69 > +\r
70 \r
71 This needs to be relative to ${dir}, not ${srcdir} in order not to break\r
72 out of tree builds. You can test with\r
73 \r
74 % mkdir -p /tmp/foo-build\r
75 % cd /tmp/foo-build\r
76 % ~/projects/notmuch/configure && make\r
77 \r
78 Also, one Makefile gotcha is that anything using $(dir) should use :=\r
79 rather than = to force immediate expansion.\r
80 \r
81 Cheers,\r
82 \r
83 David\r