From 10105dfe1447de1209910fdb29ff4352c23275d2 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 9 Aug 2013 09:25:27 -0700 Subject: ispell: don't hard-code yacc path Closes #21779. --- Library/Formula/ispell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/ispell.rb b/Library/Formula/ispell.rb index 4fa447c94..d49062dda 100644 --- a/Library/Formula/ispell.rb +++ b/Library/Formula/ispell.rb @@ -24,7 +24,7 @@ class Ispell < Formula chmod 0644, "config.sh" inreplace "config.sh" do |s| s.gsub! '/usr/share/dict', "#{share}/dict" - s.gsub! /yacc/, "/usr/bin/yacc" + s.gsub! /yacc/, MacOS.locate('yacc') end lib.mkpath -- cgit v1.2.3