projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10f6079
)
Unix Makefile: Some sed implementation truncate long lines. Use perl instead.
author
Richard Levitte
<levitte@openssl.org>
Mon, 31 Oct 2016 16:38:36 +0000
(17:38 +0100)
committer
Richard Levitte
<richard@levitte.org>
Mon, 31 Oct 2016 22:18:56 +0000
(23:18 +0100)
Fixes #1781
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1813)
(cherry picked from commit
ebca7961a6bc2652ecb3cf6dda3f43943e2965d3
)
Configurations/unix-Makefile.tmpl
patch
|
blob
|
history
diff --git
a/Configurations/unix-Makefile.tmpl
b/Configurations/unix-Makefile.tmpl
index a11d7c147d483220664515ef2b08390d809208ec..87f834341b46cb31b8a04a9ddff98b6814b99b4d 100644
(file)
--- a/
Configurations/unix-Makefile.tmpl
+++ b/
Configurations/unix-Makefile.tmpl
@@
-297,7
+297,7
@@
distclean: clean
depend:
@: {- output_off() if $disabled{makedepend}; "" -}
@if egrep "^# DO NOT DELETE THIS LINE" Makefile >/dev/null && [ -z "`find $(DEPS) -newer Makefile 2>/dev/null; exit 0`" ]; then :; else \
- (
sed -e '/^# DO NOT DELETE THIS LINE.*/,$$d
' < Makefile; \
+ (
$(PERL) -pe 'exit 0 if /^# DO NOT DELETE THIS LINE.*/
' < Makefile; \
echo '# DO NOT DELETE THIS LINE -- make depend depends on it.'; \
echo; \
for f in $(DEPS); do \