diff options
author | Robin Green <greenrd@greenrd.org> | 2011-07-03 10:18:17 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-07-03 08:32:51 -0300 |
commit | 52e4dedf9aaf7d89046667a034ad897a7381b9c1 (patch) | |
tree | 6a9a163ec0fbcbed7af61b2252b021c77faa336c /lib | |
parent | d15faa1dbe8fcf55291525981b1762d9d08a80ca (diff) |
Use POSIX sed invocation
Fixes broken build on DragonFly BSD
Signed-off-by: Robin Green <greenrd@greenrd.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.local | 2 |
1 files changed, 1 insertions, 1 deletions
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) |