summaryrefslogtreecommitdiff
path: root/mail/notmuch/patches/patch-util_Makefile.local
diff options
context:
space:
mode:
Diffstat (limited to 'mail/notmuch/patches/patch-util_Makefile.local')
-rw-r--r--mail/notmuch/patches/patch-util_Makefile.local17
1 files changed, 17 insertions, 0 deletions
diff --git a/mail/notmuch/patches/patch-util_Makefile.local b/mail/notmuch/patches/patch-util_Makefile.local
new file mode 100644
index 00000000000..dac5fb53a18
--- /dev/null
+++ b/mail/notmuch/patches/patch-util_Makefile.local
@@ -0,0 +1,17 @@
+$NetBSD: patch-util_Makefile.local,v 1.1 2014/12/18 12:26:51 joerg Exp $
+
+Don't overlap with BSD's libutil.
+
+--- util/Makefile.local.orig 2014-12-15 20:14:25.000000000 +0000
++++ util/Makefile.local
+@@ -9,8 +9,8 @@ libutil_c_srcs := $(dir)/xutil.c $(dir)/
+
+ libutil_modules := $(libutil_c_srcs:.c=.o)
+
+-$(dir)/libutil.a: $(libutil_modules)
++$(dir)/libmyutil.a: $(libutil_modules)
+ $(call quiet,AR) rcs $@ $^
+
+ SRCS := $(SRCS) $(libutil_c_srcs)
+-CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libutil.a
++CLEAN := $(CLEAN) $(libutil_modules) $(dir)/libmyutil.a