From 286a6b4883915763d15adfa7932aec70d8c427a4 Mon Sep 17 00:00:00 2001 From: Rex Kerr Date: Wed, 10 Feb 2021 11:55:26 -0800 Subject: [PATCH] Emulator: update mac instructions to include gnu grep (#7266) Since `grep -z` is not available on posix grep --- doc/Building.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/Building.md b/doc/Building.md index 3b77739af..b59f70697 100644 --- a/doc/Building.md +++ b/doc/Building.md @@ -41,12 +41,12 @@ Install the prerequisites using [Homebrew](https://brew.sh/): ``` brew install nasm ragel binutils coreutils libtool autoconf automake cmake makedepend \ -sdl2 lua@5.1 luarocks gettext pkg-config wget gnu-getopt +sdl2 lua@5.1 luarocks gettext pkg-config wget gnu-getopt grep ``` -You will also have to ensure Homebrew's gettext & gnu-getopt are in your path, e.g., via +You will also have to ensure Homebrew's gettext, gnu-getopt, & grep are in your path, e.g., via ``` -export PATH="$(brew --prefix)/opt/gettext/bin:$(brew --prefix)/opt/gnu-getopt/bin:${PATH}" +export PATH="$(brew --prefix)/opt/gettext/bin:$(brew --prefix)/opt/gnu-getopt/bin:$(brew --prefix)/opt/grep/libexec/gnubin:${PATH}" ``` See also `brew info gettext` for details on how to make that permanent in your shell. @@ -62,7 +62,6 @@ export MACOSX_DEPLOYMENT_TARGET=10.09 ``` *Note:* On Catalina (10.15), you will currently *NOT* want to deploy for `10.15`, as [XCode is currently broken in that configuration](https://forums.developer.apple.com/thread/121887)! (i.e., deploy for `10.14` instead). - ## Getting the source