bindfs: depend on linux
parent
f87108b1f7
commit
337a667035
|
@ -18,14 +18,8 @@ class Bindfs < Formula
|
|||
end
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
|
||||
on_macos do
|
||||
disable! date: "2021-04-08", because: "requires closed-source macFUSE"
|
||||
end
|
||||
|
||||
on_linux do
|
||||
depends_on "libfuse"
|
||||
end
|
||||
depends_on "libfuse"
|
||||
depends_on :linux # on macOS, requires closed-source macFUSE
|
||||
|
||||
def install
|
||||
args = %W[
|
||||
|
@ -43,18 +37,6 @@ class Bindfs < Formula
|
|||
system "make", "install"
|
||||
end
|
||||
|
||||
def caveats
|
||||
on_macos do
|
||||
<<~EOS
|
||||
The reasons for disabling this formula can be found here:
|
||||
https://github.com/Homebrew/homebrew-core/pull/64491
|
||||
|
||||
An external tap may provide a replacement formula. See:
|
||||
https://docs.brew.sh/Interesting-Taps-and-Forks
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/bindfs", "-V"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue