From 52e4dedf9aaf7d89046667a034ad897a7381b9c1 Mon Sep 17 00:00:00 2001 From: Robin Green Date: Sun, 3 Jul 2011 10:18:17 +0100 Subject: [PATCH] Use POSIX sed invocation Fixes broken build on DragonFly BSD Signed-off-by: Robin Green --- lib/Makefile.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile.local b/lib/Makefile.local index fe429207..88d8debc 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -76,7 +76,7 @@ $(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym notmuch.sym: lib/notmuch.h printf "{\nglobal:\n" > notmuch.sym - sed -n 's/^\s*\(notmuch_[a-z_]*\)\s*(.*/\t\1;/p' $< >> notmuch.sym + sed -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/'"`printf "\t"`"'\1;/p' $< >> notmuch.sym printf "local: *;\n};\n" >> notmuch.sym $(dir)/$(SONAME): $(dir)/$(LIBNAME) -- 2.26.2