From: Robin Green Date: Sun, 3 Jul 2011 09:18:17 +0000 (+0100) Subject: Use POSIX sed invocation X-Git-Tag: 0.7_rc1~18 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=52e4dedf9aaf7d89046667a034ad897a7381b9c1 Use POSIX sed invocation Fixes broken build on DragonFly BSD Signed-off-by: Robin Green --- 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)