<br><br><div class="gmail_quote">On Mon, Mar 29, 2010 at 1:43 AM, Michal Sojka <span dir="ltr"><<a href="mailto:sojkam1@fel.cvut.cz">sojkam1@fel.cvut.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 29 Mar 2010, Bhaskara Marthi wrote:<br>
> Hi all, I'm trying to build notmuch on os x (master branch from today). I<br>
> got the ports for gmime and xapian, and installed talloc from source, with<br>
> some minor hitches (just getting talloc alone from samba failed on autoconf<br>
> due to lack of libreplace.m4, so I installed all of samba from a port; a<br>
> pkg-config file for talloc was not put in the right place after that,<br>
> though, so I had to make one).<br>
><br>
> Anyway, now compilation runs into the following error. Looks like an issue<br>
> with the makefile given that getline is in fact defined in compat/. How<br>
> should I fix this?<br>
<br>
The following patch should fix it.<br></blockquote><div><br>Works for me. Thanks!<br>- Bhaskara<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
---<br>
Makefile | 2 +-<br>
compat/Makefile.local | 2 +-<br>
2 files changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/Makefile b/Makefile<br>
index 46f001c..93c6b2b 100644<br>
--- a/Makefile<br>
+++ b/Makefile<br>
@@ -46,7 +46,7 @@ subdirs = compat emacs lib<br>
global_deps = Makefile Makefile.config Makefile.local \<br>
$(subdirs:%=%/Makefile) $(subdirs:%=%/Makefile.local)<br>
<br>
-include Makefile.config Makefile.local $(subdirs:%=%/Makefile.local)<br>
+include Makefile.config $(subdirs:%=%/Makefile.local) Makefile.local<br>
<br>
# The user has not set any verbosity, default to quiet mode and inform the<br>
# user how to enable verbose compiles.<br>
diff --git a/compat/Makefile.local b/compat/Makefile.local<br>
index 17b4514..9f84c5f 100644<br>
--- a/compat/Makefile.local<br>
+++ b/compat/Makefile.local<br>
@@ -1,7 +1,7 @@<br>
dir := compat<br>
extra_cflags += -I$(dir)<br>
<br>
-notmuch_compat_srcs =<br>
+notmuch_compat_srcs :=<br>
<br>
ifneq ($(HAVE_GETLINE),1)<br>
notmuch_compat_srcs += $(dir)/getline.c $(dir)/getdelim.c<br>
<font color="#888888">--<br>
1.7.0.2<br>
</font></blockquote></div><br>