[openssl-dev] [openssl.org #4448] Solaris pod install "sed" problem for OpenSSL 1.1.0 pre4

Richard Levitte via RT rt at openssl.org
Sat Mar 19 10:23:09 UTC 2016


Right. Thanks! Will apply.

Cheers,
Richard

Vid Fre, 18 Mar 2016 kl. 22.03.22, skrev rainer.jung at kippdata.de:
> The following line in Configurations/unix-Makefile.tmpl is non
> standards-conforming and breaks using Solaris sed:
>
> ...
> sed -e ':a;{N;s/\n/ /;ba}' | \
> ...
>
> The man page tells me, Solaris sed mandatory needs a newline before the
> closing "}". The above construct throws errors when executing
> PROCESS_PODS during the make target install_man_docs:
>
> Label too long: :a;{N;s/\n/ /;ba}
>
> Since I didn't find a way to include a verbatim newline in
> Configurations/unix-Makefile.tmpl that survives to the generated
> Makefile, I instead applied the following patch:
>
> --- unix-Makefile.tmpl Wed Mar 16 19:18:09 2016
> +++ unix-Makefile.tmpl Fri Mar 18 22:23:57 2016
> @@ -512,7 +512,7 @@
> # The third sed removes the description and turns all commas into spaces
> # Voilà, you have a space separated list of names!
> EXTRACT_NAMES=sed -e '1,/^=head1 *NAME *$$/d;/^=head1/,$$d' | \
> - sed -e ':a;{N;s/\n/ /;ba}' | \
> + $(PERL) -p -0 -e 's/\n/ /g; END {print "\n"}' | \
> sed -e 's/ - .*$$//;s/,/ /g'
> PROCESS_PODS=\
> set -e; \
>
> The perl based solution should work everywhere.
>
> Regards,
>
> Rainer
>


--
Richard Levitte
levitte at openssl.org

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4448
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list