diff options
| author | Austin Ziegler | 2012-09-17 13:25:19 -0400 |
|---|---|---|
| committer | Misty De Meo | 2012-09-17 13:01:50 -0500 |
| commit | a63eec0f8869807d91151191ca164c03adf48e0b (patch) | |
| tree | 1c0754211875d74abba2fa7f4212e2fbef67556f /Library/Formula | |
| parent | 81f9a64060cc088a5f793890de9d99f52f577b8a (diff) | |
| download | homebrew-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/Formula')
| -rw-r--r-- | Library/Formula/the_silver_searcher.rb | 2 |
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" |
