projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15faa1
)
Use POSIX sed invocation
author
Robin Green
<greenrd@greenrd.org>
Sun, 3 Jul 2011 09:18:17 +0000
(10:18 +0100)
committer
David Bremner
<bremner@debian.org>
Sun, 3 Jul 2011 11:32:51 +0000
(08:32 -0300)
Fixes broken build on DragonFly BSD
Signed-off-by: Robin Green <greenrd@greenrd.org>
lib/Makefile.local
patch
|
blob
|
history
diff --git
a/lib/Makefile.local
b/lib/Makefile.local
index fe429207c2d482c01b150093d227e525323f0c6c..88d8debca8e19600cf86cded2ae27cf77ea93e84 100644
(file)
--- 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)