diff --git a/Formula/n/netatalk.rb b/Formula/n/netatalk.rb index 1e3915e91719fb..0f5f525f68a6bb 100644 --- a/Formula/n/netatalk.rb +++ b/Formula/n/netatalk.rb @@ -31,6 +31,7 @@ class Netatalk < Formula def install args = [ "-Dwith-afpstats=false", + "-Dwith-appletalk=#{OS.linux?}", "-Dwith-bdb-path=#{Formula["berkeley-db"].opt_prefix}", "-Dwith-docbook-path=#{Formula["docbook-xsl"].opt_prefix}/docbook-xsl", "-Dwith-init-style=none", @@ -39,8 +40,6 @@ def install "-Dwith-spotlight=false", ] - args << "-Dwith-appletalk=#{OS.linux?}" - system "meson", "setup", "build", *args, *std_meson_args system "meson", "compile", "-C", "build", "--verbose" system "meson", "install", "-C", "build" @@ -49,6 +48,6 @@ def install test do system sbin/"netatalk", "-V" system sbin/"afpd", "-V" - assert_equal 0, shell_output("#{sbin}/netatalk").strip.length + assert_empty shell_output(sbin/"netatalk") end end