aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sshfs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/sshfs.rb')
-rw-r--r--Library/Formula/sshfs.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Formula/sshfs.rb b/Library/Formula/sshfs.rb
index a9d5f8bc0..550090b8c 100644
--- a/Library/Formula/sshfs.rb
+++ b/Library/Formula/sshfs.rb
@@ -10,12 +10,15 @@ class Sshfs < Formula
depends_on 'glib'
depends_on "automake" if MacOS.xcode_version >= "4.3"
+ if MacOS.xcode_version >= "4.3"
+ # remove the autoreconf if possible, no comment provided about why it is there
+ # so we have no basis to make a decision at this point.
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
+ end
+
def install
- ENV['ACLOCAL'] = "aclocal -I/usr/share/aclocal -I#{HOMEBREW_PREFIX}/share/aclocal"
- ENV['AUTOCONF'] = "autoconf"
- ENV['AUTOMAKE'] = "automake"
system "autoreconf", "--force", "--install"
-
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"