aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAustin Ziegler2012-09-17 13:25:19 -0400
committerMisty De Meo2012-09-17 13:01:50 -0500
commita63eec0f8869807d91151191ca164c03adf48e0b (patch)
tree1c0754211875d74abba2fa7f4212e2fbef67556f /Library
parent81f9a64060cc088a5f793890de9d99f52f577b8a (diff)
downloadhomebrew-a63eec0f8869807d91151191ca164c03adf48e0b.tar.bz2
the_silver_searcher: don't assume /usr/local
This formula assumes that the aclocal include directory is /usr/local/share/aclocal; this is not true if you have installed homebrew into a different location (as I have done). Using HOMEBREW_PREFIX instead of assuming /usr/local is the correct fix. Closes #14987. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/the_silver_searcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/the_silver_searcher.rb b/Library/Formula/the_silver_searcher.rb
index 1f2df395c..2b4d15fbd 100644
--- a/Library/Formula/the_silver_searcher.rb
+++ b/Library/Formula/the_silver_searcher.rb
@@ -15,7 +15,7 @@ class TheSilverSearcher < Formula
def install
# Stable tarball does not include pre-generated configure script
- system "aclocal -I /usr/local/share/aclocal"
+ system "aclocal -I #{HOMEBREW_PREFIX}/share/aclocal"
system "autoconf"
system "autoheader"
system "automake --add-missing"