Revert "doc: require Homebrew GNU make and gpatch on macOS"
What changed, and why it matters
This commit is a simple documentation revert. It undoes a previous change that told macOS users to install GNU make and GNU patch from Homebrew and to put those tools first in their command path. The reverted instructions now omit gpatch and point PATH to a non-existent-looking '/opt/homebrew/opt/' directory, which is likely a mistake or incomplete edit. There is no code change and no direct security issue in the diff itself.
No security action required. If reviewing, note that the reverted PATH export appears broken and may confuse macOS builders; consider whether the original requirement for GNU make/patch still applies and whether the PATH line should be corrected rather than left malformed.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch reverts commit d3ff1474 in doc/getting-started/getting-started/installation.md. It removes the gpatch package from the brew install list and deletes the explanatory paragraph noting that GNU Make >= 4.3 and GNU patch are required because macOS-shipped tools are too old. It also changes the PATH export from specific opt paths for make/gpatch to a malformed ‘/opt/homebrew/opt/:’ prefix. This is purely a documentation/build-instruction change; no source code, cryptographic, or network behavior is modified.
Changed components
doc/getting-started/getting-started/installation.mdInspect captured patch +4 / −8
diff --git a/doc/getting-started/getting-started/installation.md b/doc/getting-started/getting-started/installation.md
index 0e7daea8..fbedcaac 100644
--- a/doc/getting-started/getting-started/installation.md
+++ b/doc/getting-started/getting-started/installation.md
@@ -391,14 +391,12 @@ You are using brew in Intel compatibility mode. The simplest solution is to remo
Install dependencies:
```shell
-brew install autoconf automake libtool python3 gnu-sed gettext libsodium lowdown pkgconf openssl make gpatch
-export PATH="/opt/homebrew/opt/make/libexec/gnubin:/opt/homebrew/opt/gpatch/libexec/gnubin:$PATH"
+brew install autoconf automake libtool python3 gnu-sed gettext libsodium lowdown pkgconf openssl make
+export PATH="/opt/homebrew/opt/:$PATH"
export CPATH=/opt/homebrew/include
export LIBRARY_PATH=/opt/homebrew/lib
```
-The build requires GNU Make >= 4.3 and some targets (such as `make check-source`) require GNU patch; the `make` and `patch` shipped with macOS are too old. The `PATH` export above makes the Homebrew versions take precedence, so consider adding it to your `~/.zshrc`.
-
If you need SQLite (or get a SQLite mismatch build error):
```shell
brew install sqlite
@@ -473,14 +471,12 @@ Assuming you have Xcode and Homebrew installed.
Install dependencies:
```shell
-brew install autoconf automake libtool python3 gnu-sed gettext libsodium lowdown pkgconf openssl make gpatch
-export PATH="/usr/local/opt/make/libexec/gnubin:/usr/local/opt/gpatch/libexec/gnubin:$PATH"
+brew install autoconf automake libtool python3 gnu-sed gettext libsodium lowdown pkgconf openssl make
+export PATH="/usr/local/opt/:$PATH"
export CPATH=/usr/local/include
export LIBRARY_PATH=/usr/local/lib
```
-The build requires GNU Make >= 4.3 and some targets (such as `make check-source`) require GNU patch; the `make` and `patch` shipped with macOS are too old. The `PATH` export above makes the Homebrew versions take precedence, so consider adding it to your `~/.zshrc`.
-
If you need SQLite (or get a SQLite mismatch build error):
```shell
brew install sqlite
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.