Skip to content

Commit

Permalink
alpine: add missing conflicts; fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bayandin committed Jul 9, 2024
1 parent 9065881 commit 7e9395e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Formula/a/alpine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,25 @@ class Alpine < Formula

depends_on "openssl@3"

uses_from_macos "krb5"
uses_from_macos "ncurses"
uses_from_macos "openldap"

on_linux do
depends_on "linux-pam"
end

conflicts_with "imap-uw", because: "both install `mailutil` binaries"
conflicts_with "macpine", because: "both install `alpine` binaries"

# patch for macOS obtained from developer; see git commit
# https://repo.or.cz/alpine.git/commitdiff/701aebc00aff0585ce6c96653714e4ba94834c9c
patch :DATA
# fix `error: incompatible function pointer types`
patch do
url "https://raw.githubusercontent.com/gentoo/gentoo/37cdeedd76ed2f1f9d169431ac98c9e40afe9372/mail-client/alpine/files/alpine-2.26-fix-clang16-build-no-chappa.patch"
sha256 "0e51e8253f9e5ff7fc9599845ec2bd3a0007a1bffb097a603dfd8d6fa6362797"
end

def install
ENV.deparallelize
Expand Down

0 comments on commit 7e9395e

Please sign in to comment.