In [1] Ryan Schmidt reported a problem on macports [2] with notmuch
finding an existing installed version of notmuch.h during the build.

This is a partial fix; the user might also specify -I in CFLAGS.


[2]: The problem does not arise when notmuch.h is installed into a
"system" include path that the compiler searches by default.
--- | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ b/
index e6b00815..b712dd7b 100644
--- a/
+++ b/
@@ -50,8 +50,8 @@ DETACHED_SIG_FILE=$(TAR_FILE).asc
 # Smash together user's values with our extra values
$(WARN_CFLAGS) $(extra_cflags) $(CONFIGURE_CFLAGS)
$(extra_cxxflags) $(CONFIGURE_CXXFLAGS)
$(extra_cflags) $(CPPFLAGS) $(CONFIGURE_CFLAGS)
$(extra_cxxflags) $(CPPFLAGS) $(CONFIGURE_CXXFLAGS)
 FINAL_NOTMUCH_LDFLAGS = -Lutil -lnotmuch_util -Llib -lnotmuch $(LDFLAGS)

notmuch mailing list --
To unsubscribe send an email to

Reply via email to