#3250 closed task (fixed)
Openssh-5.8p2 requires a minor change to the sed script that modifies configure
Reported by: | Jeremy Henty | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | minor | Keywords: | openssh |
Cc: |
Description ¶
Openssh-5.8p2 builds on my LFS-6.5 system, but the sed command "sed -i.bak 's/ -ldes' configure" mangles some of the configure output:
$ diff configure{.bak,} 28156,28157c28156,28157 < { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 < echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; } ---
{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in" >&5
echo $ECHO_N "checking for des_cbc_encrypt in... $ECHO_C" >&6; }
28218c28218 < K5LIBS="$K5LIBS -ldes" ---
K5LIBS="$K5LIBS"
I suggest changing the sed command to "sed -i.bak '/K5LIBS=/s/ -ldes' configure", which alters only the intended lines:
$ diff configure{.bak,} diff configure{.bak,} 28218c28218 < K5LIBS="$K5LIBS -ldes" ---
K5LIBS="$K5LIBS"
Change History (5)
by , 14 years ago
Attachment: | diff_0.txt added |
---|
comment:1 by , 14 years ago
Replying to jeremy_henty:
Wiki formatting mangled the diff output so I have attached files with the diff outputs.
Diff of the change after the original sed script