aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-18 19:57:19 +0100
committerMike McQuaid2016-09-18 19:57:19 +0100
commit3f9cce0a03e967d2e7bcb7cd16bbc898c1a35708 (patch)
tree609a33441201227f7a6a81bcb61d8a3d17e2c8a3 /Library/Homebrew/formula.rb
parentf4a8d28819f1fee73fcc63d08e70cb36eecdfb20 (diff)
downloadbrew-3f9cce0a03e967d2e7bcb7cd16bbc898c1a35708.tar.bz2
Use new "macOS" naming where appropriate.
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
Diffstat (limited to 'Library/Homebrew/formula.rb')
-rw-r--r--Library/Homebrew/formula.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 599b49392..f40f54110 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -1988,7 +1988,7 @@ class Formula
# depends_on :fortran # Checks that `gfortran` is available or `FC` is set.
# depends_on :mpi => :cc # Needs MPI with `cc`
# depends_on :mpi => [:cc, :cxx, :optional] # Is optional. MPI with `cc` and `cxx`.
- # depends_on :macos => :lion # Needs at least Mac OS X "Lion" aka. 10.7.
+ # depends_on :macos => :lion # Needs at least OS X Lion (10.7).
# depends_on :apr # If a formula requires the CLT-provided apr library to exist.
# depends_on :arch => :intel # If this formula only builds on Intel architecture.
# depends_on :arch => :x86_64 # If this formula only builds on Intel x86 64-bit.
@@ -2004,7 +2004,7 @@ class Formula
# depends_on :postgresql if build.without? "sqlite"
# depends_on :hg # Mercurial (external or brewed) is needed</pre>
#
- # <pre># If any Python >= 2.7 < 3.x is okay (either from OS X or brewed):
+ # <pre># If any Python >= 2.7 < 3.x is okay (either from macOS or brewed):
# depends_on :python</pre>
# <pre># to depend on Python >= 2.7 but use system Python where possible
# depends_on :python if MacOS.version <= :snow_leopard</pre>
@@ -2117,8 +2117,8 @@ class Formula
# add the necessary includes and libs (etc.) during the brewing of that
# other formula. But generally, keg_only formulae are not in your PATH
# and not seen by compilers if you build your own software outside of
- # Homebrew. This way, we don't shadow software provided by OS X.
- # <pre>keg_only :provided_by_osx</pre>
+ # Homebrew. This way, we don't shadow software provided by macOS.
+ # <pre>keg_only :provided_by_macos</pre>
# <pre>keg_only "because I want it so"</pre>
def keg_only(reason, explanation = "")
@keg_only_reason = KegOnlyReason.new(reason, explanation)