osxfuse: modernize autotools bootstrap
This commit is contained in:
parent
7d4a04059f
commit
f20c9309db
1 changed files with 4 additions and 9 deletions
|
@ -14,10 +14,10 @@ class Osxfuse < Formula
|
|||
|
||||
depends_on :macos => :snow_leopard
|
||||
depends_on :xcode
|
||||
depends_on :autoconf
|
||||
depends_on :automake
|
||||
depends_on 'gettext' => :build
|
||||
depends_on 'libtool' => :build
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "gettext" => :build
|
||||
|
||||
conflicts_with 'fuse4x', :because => 'both install `fuse.pc`'
|
||||
|
||||
|
@ -25,11 +25,6 @@ class Osxfuse < Formula
|
|||
# Do not override Xcode build settings
|
||||
ENV.remove_cc_etc
|
||||
|
||||
if MacOS::Xcode.provides_autotools?
|
||||
# Xcode version of aclocal does not respect ACLOCAL_PATH
|
||||
ENV['ACLOCAL'] = 'aclocal ' + ENV['ACLOCAL_PATH'].split(':').map {|p| '-I' + p}.join(' ')
|
||||
end
|
||||
|
||||
system "./build.sh", "-t", "homebrew", "-f", prefix
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue