From 3eb966c309798e733f6cc6546423d53b74c3d0b2 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Wed, 14 Sep 2016 17:59:20 +0100 Subject: [PATCH] Formula-Cookbook: detail build env less generically --- share/doc/homebrew/Formula-Cookbook.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/share/doc/homebrew/Formula-Cookbook.md b/share/doc/homebrew/Formula-Cookbook.md index 75a53f60f9..ea5c3c221a 100644 --- a/share/doc/homebrew/Formula-Cookbook.md +++ b/share/doc/homebrew/Formula-Cookbook.md @@ -110,9 +110,8 @@ to avoid conflicting with the system so sometimes formulae need to have environment variables set or special configuration flags passed to locate our OpenSSL. You can see this mechanism in the [clamav](https://github.com/Homebrew/homebrew-core/blob/ae2206f3e5bb2a7c0065ae1b164d2d011b85858b/Formula/clamav.rb#L38) -formula. Usually this is unnecessary because when OpenSSL is specified -as a dependency Homebrew temporarily prepends the `$PATH` with that -prefix. +formula. Usually this is unnecessary because Homebrew sets up our [build environment](https://github.com/Homebrew/brew/blob/fb3bec8d70d375a97554d4c3fed82ad2332b2191/Library/Homebrew/extend/ENV/super.rb) +to favour finding `keg_only` formulae first. Homebrew maintains a special [tap that provides other useful system duplicates](https://github.com/Homebrew/homebrew-dupes).