In message <[email protected]> on Thu, 4 Aug 2016 08:41:44 -0700, Claus Assmann <[email protected]> said:
ca+ssl-dev> Happens on OpenBSD and Linux (similar error message): ca+ssl-dev> ca+ssl-dev> *** Installing manpages ca+ssl-dev> usage: tr [-cs] string1 string2 ca+ssl-dev> tr [-c] -d string1 ca+ssl-dev> tr [-c] -s string1 ca+ssl-dev> tr [-c] -ds string1 string2 ca+ssl-dev> ca+ssl-dev> ca+ssl-dev> Seems [A-Z] etc needs to be quoted, e.g., ca+ssl-dev> tr '[a-z]' '[A-Z]' ca+ssl-dev> ca+ssl-dev> There are several places like this in the Makefile. I suppose this depends on what shell is being used. I've attached a fix (apply with 'patch -p1 < unix-Makefile.tmpl.patch'), would you mind trying it out? Cheers, Richard -- Richard Levitte [email protected] OpenSSL Project http://www.openssl.org/~levitte/
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 3b6914c..608c204 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -578,7 +578,7 @@ PROCESS_PODS=\ [ -z "$$SEC" ] && SEC=$$defsec; \ fn=`basename $$p .pod`; \ Name=$$fn; \ - NAME=`echo $$fn | tr [a-z] [A-Z]`; \ + NAME=`echo $$fn | tr '[a-z]' '[A-Z]'`; \ suf=`eval "echo $$OUTSUFFIX"`; \ top=`eval "echo $$OUTTOP"`; \ $(PERL) $(SRCDIR)/util/mkdir-p.pl $$top/man$$SEC; \ @@ -591,8 +591,8 @@ PROCESS_PODS=\ comp_n="$$n"; \ comp_fn="$$fn"; \ case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \ - comp_n=`echo "$$n" | tr [A-Z] [a-z]`; \ - comp_fn=`echo "$$fn" | tr [A-Z] [a-z]`; \ + comp_n=`echo "$$n" | tr '[A-Z]' '[a-z]'`; \ + comp_fn=`echo "$$fn" | tr '[A-Z]' '[a-z]'`; \ ;; \ esac; \ if [ "$$comp_n" != "$$comp_fn" ]; then \ @@ -621,8 +621,8 @@ UNINSTALL_DOCS=\ comp_n="$$n"; \ comp_fn="$$fn"; \ case "$(PLATFORM)" in DJGPP|Cygwin*|mingw*|darwin*-*-cc) \ - comp_n=`echo "$$n" | tr [A-Z] [a-z]`; \ - comp_fn=`echo "$$fn" | tr [A-Z] [a-z]`; \ + comp_n=`echo "$$n" | tr '[A-Z]' '[a-z]'`; \ + comp_fn=`echo "$$fn" | tr '[A-Z]' '[a-z]'`; \ ;; \ esac; \ if [ "$$comp_n" != "$$comp_fn" ]; then \
-- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
