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
--
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4448
Please log in as guest with password guest if prompted
--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev