aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ispell.rb2
-rw-r--r--Library/Formula/libmxml.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/ispell.rb b/Library/Formula/ispell.rb
index 36740b5fa..bd8452538 100644
--- a/Library/Formula/ispell.rb
+++ b/Library/Formula/ispell.rb
@@ -25,7 +25,7 @@ class Ispell < Formula
chmod 0644, "config.sh"
inreplace "config.sh" do |s|
s.gsub! '/usr/share/dict', "#{share}/dict"
- s.gsub! /yacc/, MacOS.locate('yacc')
+ s.gsub! /yacc/, "yacc"
end
(lib/'ispell').mkpath
diff --git a/Library/Formula/libmxml.rb b/Library/Formula/libmxml.rb
index d7c38c0b6..9a4df48ea 100644
--- a/Library/Formula/libmxml.rb
+++ b/Library/Formula/libmxml.rb
@@ -14,7 +14,7 @@ class Libmxml < Formula
"--prefix=#{prefix}"
# Makefile hard-codes the path to /Developer
- inreplace "Makefile", "/Developer/usr/bin/docsetutil", MacOS.locate('docsetutil')
+ inreplace "Makefile", "/Developer/usr/bin/docsetutil", "docsetutil"
system "make"
system "make install"