From ea149cc5e332cb9091e439e3d2f5e42aaf9c2437 Mon Sep 17 00:00:00 2001 From: mbcoguno Date: Fri, 5 Oct 2012 16:06:24 +0800 Subject: Fix missing keg-only on pre-Mountain Lion formulae. Closes #15375. Signed-off-by: Adam Vandenberg --- Library/Formula/md.rb | 2 +- Library/Formula/texi2html.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/md.rb b/Library/Formula/md.rb index fdd757985..043493b32 100644 --- a/Library/Formula/md.rb +++ b/Library/Formula/md.rb @@ -6,7 +6,7 @@ class Md < Formula sha1 '0128de65a4da2ef9655f3b1e6a94d2f8ae292414' # OS X up to and including Lion 10.7 includes 'md' - keg_only :provided_by_osx unless MacOS.version >= :mountain_lion + keg_only :provided_pre_mountain_lion def install cd 'md' do diff --git a/Library/Formula/texi2html.rb b/Library/Formula/texi2html.rb index 0affa256d..40404183a 100644 --- a/Library/Formula/texi2html.rb +++ b/Library/Formula/texi2html.rb @@ -5,7 +5,7 @@ class Texi2html < Formula url 'http://download.savannah.gnu.org/releases/texi2html/texi2html-1.82.tar.gz' sha1 'e7bbe1197147566250abd5c456b94c8e37e0a81f' - keg_only :provided_by_osx unless MacOS.version >= :mountain_lion + keg_only :provided_pre_mountain_lion def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", -- cgit v1.2.3