From 3f9cce0a03e967d2e7bcb7cd16bbc898c1a35708 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 18 Sep 2016 19:57:19 +0100 Subject: 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. --- Library/Homebrew/formula.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Library/Homebrew/formula.rb') 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 # - #
# If any Python >= 2.7 < 3.x is okay (either from OS X or brewed): + ## If any Python >= 2.7 < 3.x is okay (either from macOS or brewed): # depends_on :python## to depend on Python >= 2.7 but use system Python where possible # depends_on :python if MacOS.version <= :snow_leopard@@ -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. - #keg_only :provided_by_osx+ # Homebrew. This way, we don't shadow software provided by macOS. + #keg_only :provided_by_macos#keg_only "because I want it so"def keg_only(reason, explanation = "") @keg_only_reason = KegOnlyReason.new(reason, explanation) -- cgit v1.2.3