Skip to content

Commit

Permalink
attempt patch
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark committed Dec 31, 2024
1 parent 5e76486 commit 4ebf570
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Formula/n/netatalk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,26 @@ class Netatalk < Formula
depends_on "libevent"
depends_on "libgcrypt"
depends_on "mysql"
depends_on "openldap" # LDAP.Framework is not fork safe
depends_on "openldap" # macOS LDAP.Framework is not fork safe

uses_from_macos "libxslt" => :build
uses_from_macos "perl"

# on macOS we use native mDNS for Zeroconf; Avahi is required on Linux only
on_linux do
depends_on "avahi"
depends_on "dbus"
end

patch do
url "https://github.com/Netatalk/netatalk/commit/f6383624fcffac960bedda06a3e97fec5164e9c8.patch?full_index=1"
sha256 "9f5ef8e0ca925786db60b3cbb13b103e46fe1118804137bfa08a80857e955164"
end

def install
args = [
"-Dwith-afpstats=false",
"-Dwith-appletalk=#{OS.linux?}",
"-Dwith-appletalk=#{OS.linux?}", # macOS doesn't have an AppleTalk stack
"-Dwith-bdb-path=#{Formula["berkeley-db@5"].opt_prefix}",
"-Dwith-docbook-path=#{Formula["docbook-xsl"].opt_prefix}/docbook-xsl",
"-Dwith-init-style=none",
Expand Down

0 comments on commit 4ebf570

Please sign in to comment.