brew

https://github.com/homebrew/brew

Ruby

🍺 The missing package manager for macOS

Requirement#modify_build_environment

Overriding #modify_build_environment is deprecated.
Pass a block to the env DSL method instead.
Note: #satisfied? should be called before invoking this method
as the env modifications may depend on its side effects.

Source | Google | Stack overflow

Edit

git clone [email protected]:homebrew/brew.git

cd brew

open Library/Homebrew/requirement.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Requirement-modify_build_environment-for-pr


# Commit to git

git add Library/Homebrew/requirement.rbgit commit -m "better docs for Requirement#modify_build_environment"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Requirement-modify_build_environment-for-pr

hub pull-request


# Celebrate!