Use POSIX sed invocation

Fixes broken build on DragonFly BSD

Signed-off-by: Robin Green <greenrd@greenrd.org>
This commit is contained in:
Robin Green 2011-07-03 10:18:17 +01:00 committed by David Bremner
parent d15faa1dbe
commit 52e4dedf9a

View file

@ -76,7 +76,7 @@ $(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym
notmuch.sym: lib/notmuch.h notmuch.sym: lib/notmuch.h
printf "{\nglobal:\n" > notmuch.sym 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 printf "local: *;\n};\n" >> notmuch.sym
$(dir)/$(SONAME): $(dir)/$(LIBNAME) $(dir)/$(SONAME): $(dir)/$(LIBNAME)