diff --git a/Formula/cairo.rb b/Formula/cairo.rb index 9dc979d4fb..9cd76b67cf 100644 --- a/Formula/cairo.rb +++ b/Formula/cairo.rb @@ -5,7 +5,7 @@ class Cairo < Formula url 'http://cairographics.org/releases/cairo-1.12.2.tar.xz' sha256 'b786bc4a70542bcb09f2d9d13e5e6a0c86408cbf6d1edde5f0de807eecf93f96' - keg_only unless MacOS.version >= :mountain_lion + keg_only :provided_pre_mountain_lion option :universal option 'without-x', 'Build without X11 support' diff --git a/Formula/enscript.rb b/Formula/enscript.rb index 4f5be6fcb6..27368020d8 100644 --- a/Formula/enscript.rb +++ b/Formula/enscript.rb @@ -8,7 +8,7 @@ class Enscript < Formula head 'git://git.savannah.gnu.org/enscript.git' - keg_only :provided_by_osx unless MacOS.version >= :mountain_lion + keg_only :provided_pre_mountain_lion depends_on 'gettext' diff --git a/Formula/fontconfig.rb b/Formula/fontconfig.rb index 4ce0418ce0..c2fdadc3f2 100644 --- a/Formula/fontconfig.rb +++ b/Formula/fontconfig.rb @@ -5,7 +5,7 @@ class Fontconfig < Formula url 'http://fontconfig.org/release/fontconfig-2.10.1.tar.gz' sha1 'e377cbe989cd22d3a10020309c906ecbbcac0043' - keg_only unless MacOS.version >= :mountain_lion + keg_only :provided_pre_mountain_lion depends_on :freetype depends_on 'pkg-config' => :build diff --git a/Formula/freetype.rb b/Formula/freetype.rb index 0c1d176223..67334e7a4e 100644 --- a/Formula/freetype.rb +++ b/Formula/freetype.rb @@ -5,7 +5,7 @@ class Freetype < Formula url 'http://downloads.sf.net/project/freetype/freetype2/2.4.10/freetype-2.4.10.tar.gz' sha1 '44dba26ff965b1cd1c62e480fdefaeca62ed33da' - keg_only unless MacOS.version >= :mountain_lion + keg_only :provided_pre_mountain_lion option :universal diff --git a/Formula/libpng.rb b/Formula/libpng.rb index 6deeb5d804..e5b076fcff 100644 --- a/Formula/libpng.rb +++ b/Formula/libpng.rb @@ -5,7 +5,7 @@ class Libpng < Formula url 'http://downloads.sf.net/project/libpng/libpng15/1.5.12/libpng-1.5.12.tar.gz' sha1 'c329f3a9b720d7ae14e8205fa6e332236573704b' - keg_only unless MacOS.version >= :mountain_lion + keg_only :provided_pre_mountain_lion bottle do sha1 '83c6be83e86404f41982e5e1e6877924fe737bdf' => :mountainlion diff --git a/Formula/pixman.rb b/Formula/pixman.rb index 9fc1b13f1c..8894a3cdf1 100644 --- a/Formula/pixman.rb +++ b/Formula/pixman.rb @@ -7,7 +7,7 @@ class Pixman < Formula depends_on 'pkg-config' => :build - keg_only unless MacOS.version >= :mountain_lion + keg_only :provided_pre_mountain_lion option :universal