File 0819-Fix-typos-in-make.patch of Package erlang
From 7ce81f7709c0b3db7bd11e79b6141758c7b0f4f7 Mon Sep 17 00:00:00 2001
From: Kian-Meng Ang <kianmeng@cpan.org>
Date: Sat, 8 Jan 2022 22:02:04 +0800
Subject: [PATCH] Fix typos in make
---
make/autoconf/otp.m4 | 8 ++++----
make/configure | 2 +-
make/cross_check_erl | 2 +-
make/emd2exml.in | 2 +-
make/install_bin | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/make/configure b/make/configure
index 20d726801f..4df3d7618c 100755
--- a/make/configure
+++ b/make/configure
@@ -1555,7 +1555,7 @@ Some influential environment variables:
CXX C++ compiler
CXXFLAGS C++ compiler flags
LD linker (is often overridden by configure)
- LDFLAGS linker flags (can be risky to set since LD may be overriden by
+ LDFLAGS linker flags (can be risky to set since LD may be overridden by
configure)
LIBS libraries
DED_LD linker for Dynamic Erlang Drivers (set all DED_LD* variables or
diff --git a/make/cross_check_erl b/make/cross_check_erl
index fd9af6bae8..b5b3f8816e 100755
--- a/make/cross_check_erl
+++ b/make/cross_check_erl
@@ -118,7 +118,7 @@ test "X$build_otp" = "X$used_otp" || {
* ERROR: Trying to cross compile an Erlang/$build_otp system with a different
* Erlang/$used_otp system. When cross compiling you should compile
* with an Erlang/OTP system of the same release. It is possible,
-* however not recomended, to force the cross compilation even though
+* however not recommended, to force the cross compilation even though
* the wrong Erlang/OTP system is used. For more information on this,
* and cross compiling Erlang/$build_otp in general, see the
* \$ERL_TOP/xcomp/README file.
diff --git a/make/emd2exml.in b/make/emd2exml.in
index faed9ebe69..ba99eb5014 100755
--- a/make/emd2exml.in
+++ b/make/emd2exml.in
@@ -317,7 +317,7 @@ parse(#state{line = Line} = S) ->
parse(get_line(put_text(S, Line))).
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%% Auxilary functions
+%%% Auxiliary functions
%%%
%%
diff --git a/make/install_bin b/make/install_bin
index 3337e68a9f..4c70e34b71 100755
--- a/make/install_bin
+++ b/make/install_bin
@@ -681,7 +681,7 @@ EOF
done
# Remove after possible old install (done in a separate pass since I think
-# the output looks nicer than if mixed). Note that we cannot test for existance
+# the output looks nicer than if mixed). Note that we cannot test for existence
# in a portable way, so force remove.
for file in "$@"; do
test "$file" != "" || continue
--
2.31.1