aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authormbcoguno2012-10-05 16:06:24 +0800
committerAdam Vandenberg2012-10-10 08:51:02 -0700
commitea149cc5e332cb9091e439e3d2f5e42aaf9c2437 (patch)
tree305c91a1ea80604a1cae94d37468f9409c938de9 /Library/Formula
parent365a642bffd4b444790e6d60d0b1a0456841fec8 (diff)
downloadhomebrew-ea149cc5e332cb9091e439e3d2f5e42aaf9c2437.tar.bz2
Fix missing keg-only on pre-Mountain Lion formulae.
Closes #15375. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/md.rb2
-rw-r--r--Library/Formula/texi2html.rb2
2 files changed, 2 insertions, 2 deletions
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}",