Sync `uses_from_macos` from Homebrew/linuxbrew-core
- Over in Homebrew/linuxbrew-core, we've been switching `depends_on ... unless OS.mac?` dependencies to `uses_from_macos`. This is an effort to sync all of those upstream to reduce the diff. - This is a good start for "all in one go" rather than piecemeal over time per-formula or per-dependency. - This syncs formulae A-F.master
parent
d0a1667529
commit
6a39dfa5a1
|
@ -12,6 +12,10 @@ class Acpica < Formula
|
|||
sha256 "19bde18f6e8eb1616c8ed61b6d12a813252463e1cecfd6b3a22e3c28c895020e" => :high_sierra
|
||||
end
|
||||
|
||||
uses_from_macos "bison" => :build
|
||||
uses_from_macos "flex" => :build
|
||||
uses_from_macos "m4" => :build
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
system "make", "PREFIX=#{prefix}"
|
||||
|
|
|
@ -16,6 +16,7 @@ class Advancecomp < Formula
|
|||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
|
||||
uses_from_macos "bzip2"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
|
|
|
@ -15,6 +15,9 @@ class Advancemame < Formula
|
|||
depends_on "freetype"
|
||||
depends_on "sdl"
|
||||
|
||||
uses_from_macos "expat"
|
||||
uses_from_macos "ncurses"
|
||||
|
||||
conflicts_with "advancemenu", :because => "both install `advmenu` binaries"
|
||||
|
||||
def install
|
||||
|
|
|
@ -13,7 +13,9 @@ class Advancemenu < Formula
|
|||
end
|
||||
|
||||
depends_on "sdl"
|
||||
|
||||
uses_from_macos "expat"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
conflicts_with "advancemame", :because => "both install `advmenu` binaries"
|
||||
|
||||
|
|
|
@ -14,6 +14,8 @@ class Advancescan < Formula
|
|||
sha256 "f91cbe31c7c8072fffffcd0cc8766e20df6f728abc73f66140f97c0a49d6f6c8" => :yosemite
|
||||
end
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-silent-rules",
|
||||
"--prefix=#{prefix}"
|
||||
|
|
|
@ -20,6 +20,9 @@ class Afflib < Formula
|
|||
depends_on "openssl@1.1"
|
||||
depends_on "python"
|
||||
|
||||
uses_from_macos "curl"
|
||||
uses_from_macos "expat"
|
||||
|
||||
def install
|
||||
args = %w[
|
||||
--enable-s3
|
||||
|
|
|
@ -35,6 +35,7 @@ class Agda < Formula
|
|||
depends_on "cabal-install" => [:build, :test]
|
||||
depends_on "emacs"
|
||||
depends_on "ghc"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
|
|
|
@ -21,6 +21,8 @@ class Aide < Formula
|
|||
depends_on "libgcrypt"
|
||||
depends_on "libgpg-error"
|
||||
depends_on "pcre"
|
||||
|
||||
uses_from_macos "bison" => :build
|
||||
uses_from_macos "curl"
|
||||
|
||||
def install
|
||||
|
|
|
@ -13,6 +13,8 @@ class Alpine < Formula
|
|||
|
||||
depends_on "openssl@1.1"
|
||||
|
||||
uses_from_macos "ncurses"
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ class Analog < Formula
|
|||
depends_on "gd"
|
||||
depends_on "jpeg"
|
||||
depends_on "libpng"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
|
|
|
@ -19,6 +19,7 @@ class Ansible < Formula
|
|||
depends_on "libyaml"
|
||||
depends_on "openssl@1.1"
|
||||
depends_on "python@3.8"
|
||||
|
||||
uses_from_macos "libffi"
|
||||
uses_from_macos "libxslt"
|
||||
|
||||
|
|
|
@ -20,6 +20,9 @@ class AnsibleAT28 < Formula
|
|||
depends_on "openssl@1.1"
|
||||
depends_on "python"
|
||||
|
||||
uses_from_macos "libffi"
|
||||
uses_from_macos "libxslt"
|
||||
|
||||
# Collect requirements from:
|
||||
# ansible
|
||||
# docker-py
|
||||
|
|
|
@ -16,6 +16,8 @@ class AppscaleTools < Formula
|
|||
depends_on "libyaml"
|
||||
depends_on "openssl@1.1"
|
||||
depends_on "ssh-copy-id"
|
||||
|
||||
uses_from_macos "libffi"
|
||||
# Uses SOAPPy, which does not support Python 3
|
||||
uses_from_macos "python@2" # does not support Python 3
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@ class AptDater < Formula
|
|||
depends_on "gettext"
|
||||
depends_on "glib"
|
||||
depends_on "popt"
|
||||
|
||||
uses_from_macos "libxml2"
|
||||
|
||||
def install
|
||||
|
|
|
@ -21,6 +21,7 @@ class Arabica < Formula
|
|||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "boost"
|
||||
|
||||
uses_from_macos "expat"
|
||||
|
||||
def install
|
||||
|
|
|
@ -13,6 +13,7 @@ class Aria2 < Formula
|
|||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libssh2"
|
||||
|
||||
uses_from_macos "libxml2"
|
||||
|
||||
def install
|
||||
|
|
|
@ -15,6 +15,7 @@ class Arping < Formula
|
|||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libnet"
|
||||
|
||||
uses_from_macos "libpcap"
|
||||
|
||||
def install
|
||||
|
|
|
@ -20,6 +20,9 @@ class Asciidoc < Formula
|
|||
depends_on "docbook"
|
||||
depends_on "source-highlight"
|
||||
|
||||
uses_from_macos "libxml2" => :build
|
||||
uses_from_macos "libxslt" => :build
|
||||
|
||||
def install
|
||||
ENV.prepend_path "PATH", "/System/Library/Frameworks/Python.framework/Versions/2.7/bin"
|
||||
ENV["XML_CATALOG_FILES"] = etc/"xml/catalog"
|
||||
|
|
|
@ -11,6 +11,8 @@ class Aspell < Formula
|
|||
sha256 "9bbb8be505d953395bcccde4712cf85792c6bf03af535cc553783361476ddddb" => :high_sierra
|
||||
end
|
||||
|
||||
uses_from_macos "ncurses"
|
||||
|
||||
resource "en" do
|
||||
url "https://ftp.gnu.org/gnu/aspell/dict/en/aspell6-en-2018.04.16-0.tar.bz2"
|
||||
mirror "https://ftpmirror.gnu.org/aspell/dict/en/aspell6-en-2018.04.16-0.tar.bz2"
|
||||
|
|
|
@ -13,6 +13,7 @@ class Assimp < Formula
|
|||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
# Fix "unzip.c:150:11: error: unknown type name 'z_crc_t'"
|
||||
|
|
|
@ -12,6 +12,8 @@ class Atasm < Formula
|
|||
sha256 "b9eb26201949590ab8fce80ee3feabe7f0be2f611e7c60b6b456c8d78480680c" => :high_sierra
|
||||
end
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
cd "src" do
|
||||
system "make", "prog"
|
||||
|
|
|
@ -18,6 +18,7 @@ class Atomicparsley < Formula
|
|||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
# Fix Xcode 9 pointer warnings
|
||||
|
|
|
@ -51,6 +51,7 @@ class Audacious < Formula
|
|||
depends_on "qt"
|
||||
depends_on "sdl2"
|
||||
depends_on "wavpack"
|
||||
|
||||
uses_from_macos "python@2"
|
||||
|
||||
def install
|
||||
|
|
|
@ -14,6 +14,7 @@ class Auditbeat < Formula
|
|||
end
|
||||
|
||||
depends_on "go" => :build
|
||||
|
||||
# https://github.com/elastic/beats/pull/14798
|
||||
uses_from_macos "python@2" => :build # does not support Python 3
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ class Augeas < Formula
|
|||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "readline"
|
||||
|
||||
uses_from_macos "libxml2"
|
||||
|
||||
def install
|
||||
|
|
|
@ -17,6 +17,9 @@ class Autoconf < Formula
|
|||
sha256 "d153b3318754731ff5e91b45b2518c75880993fa9d1f312a03696e2c1de0c9d5" => :mavericks
|
||||
end
|
||||
|
||||
uses_from_macos "m4"
|
||||
uses_from_macos "perl"
|
||||
|
||||
def install
|
||||
ENV["PERL"] = "/usr/bin/perl"
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ class Autogen < Formula
|
|||
depends_on "coreutils" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "guile"
|
||||
|
||||
uses_from_macos "libxml2"
|
||||
|
||||
def install
|
||||
|
|
|
@ -17,6 +17,7 @@ class Avian < Formula
|
|||
end
|
||||
|
||||
depends_on :java => "1.8"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
|
|
|
@ -16,6 +16,7 @@ class AvroC < Formula
|
|||
depends_on "jansson"
|
||||
depends_on "snappy"
|
||||
depends_on "xz"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
|
|
|
@ -17,6 +17,7 @@ class AwsGoogleAuth < Formula
|
|||
depends_on "freetype"
|
||||
depends_on "jpeg"
|
||||
depends_on "python"
|
||||
|
||||
uses_from_macos "libffi"
|
||||
uses_from_macos "libxml2"
|
||||
uses_from_macos "libxslt"
|
||||
|
|
|
@ -13,6 +13,7 @@ class AwsSdkCpp < Formula
|
|||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
||||
uses_from_macos "curl"
|
||||
|
||||
def install
|
||||
|
|
|
@ -18,6 +18,9 @@ class Awscli < Formula
|
|||
# Sierra
|
||||
depends_on "python@3.8"
|
||||
|
||||
uses_from_macos "groff"
|
||||
uses_from_macos "libyaml"
|
||||
|
||||
def install
|
||||
venv = virtualenv_create(libexec, "python3")
|
||||
system libexec/"bin/pip", "install", "-v", "-r", "requirements.txt",
|
||||
|
|
|
@ -20,6 +20,8 @@ class AwscliAT1 < Formula
|
|||
# Sierra
|
||||
depends_on "python@3.8"
|
||||
|
||||
uses_from_macos "groff"
|
||||
|
||||
def install
|
||||
venv = virtualenv_create(libexec, "python3")
|
||||
system libexec/"bin/pip", "install", "-v", "--no-binary", ":all:",
|
||||
|
|
|
@ -17,6 +17,8 @@ class Awslogs < Formula
|
|||
|
||||
depends_on "python@3.8"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
resource "boto3" do
|
||||
url "https://files.pythonhosted.org/packages/fd/50/3868735fae36e0f93216019551ca0f75b6cf9f933a55891244efefdcc3bd/boto3-1.9.62.tar.gz"
|
||||
sha256 "e9e93029b0d4f91ff342ffd953048c5a64e6a1522c2362c4521864bcc88cc365"
|
||||
|
|
|
@ -15,6 +15,8 @@ class BaculaFd < Formula
|
|||
depends_on "openssl@1.1"
|
||||
depends_on "readline"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
conflicts_with "bareos-client",
|
||||
:because => "Both install a `bconsole` executable."
|
||||
|
||||
|
|
|
@ -14,6 +14,8 @@ class Badtouch < Formula
|
|||
depends_on "rust" => :build
|
||||
depends_on "openssl@1.1"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
# Ensure that the `openssl` crate picks up the intended library.
|
||||
# https://crates.io/crates/openssl#manual-configuration
|
||||
|
|
|
@ -13,6 +13,7 @@ class Bat < Formula
|
|||
end
|
||||
|
||||
depends_on "rust" => :build
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
|
|
|
@ -16,6 +16,8 @@ class Bazel < Formula
|
|||
depends_on :java => "1.8"
|
||||
depends_on :macos => :yosemite
|
||||
|
||||
uses_from_macos "zip"
|
||||
|
||||
def install
|
||||
ENV["EMBED_LABEL"] = "#{version}-homebrew"
|
||||
# Force Bazel ./compile.sh to put its temporary files in the buildpath
|
||||
|
|
|
@ -17,6 +17,9 @@ class Bc < Formula
|
|||
|
||||
keg_only :provided_by_macos
|
||||
|
||||
uses_from_macos "bison" => :build
|
||||
uses_from_macos "flex"
|
||||
|
||||
def install
|
||||
# prevent user BC_ENV_ARGS from interfering with or influencing the
|
||||
# bootstrap phase of the build, particularly
|
||||
|
|
|
@ -16,6 +16,8 @@ class Bettercap < Formula
|
|||
depends_on "pkg-config" => :build
|
||||
depends_on "libusb"
|
||||
|
||||
uses_from_macos "libpcap"
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
(buildpath/"src/github.com/bettercap/bettercap").install buildpath.children
|
||||
|
|
|
@ -15,6 +15,10 @@ class Bibtexconv < Formula
|
|||
depends_on "cmake" => :build
|
||||
depends_on "openssl@1.1"
|
||||
|
||||
uses_from_macos "bison" => :build
|
||||
uses_from_macos "flex" => :build
|
||||
uses_from_macos "curl"
|
||||
|
||||
def install
|
||||
system "cmake", *std_cmake_args,
|
||||
"-DCRYPTO_LIBRARY=#{Formula["openssl@1.1"].opt_lib}/libcrypto.dylib"
|
||||
|
|
|
@ -23,6 +23,7 @@ class Bic < Formula
|
|||
end
|
||||
|
||||
depends_on "gmp"
|
||||
|
||||
uses_from_macos "readline"
|
||||
|
||||
def install
|
||||
|
|
|
@ -13,6 +13,9 @@ class Bioawk < Formula
|
|||
sha256 "df0810bc087f924cdddcdb73f00faf9772de9475e0e698c7af8a7d036b3a4c91" => :el_capitan
|
||||
end
|
||||
|
||||
uses_from_macos "bison" => :build
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
# Fix make: *** No rule to make target `ytab.h', needed by `b.o'.
|
||||
ENV.deparallelize
|
||||
|
|
|
@ -14,6 +14,9 @@ class Blast < Formula
|
|||
|
||||
depends_on "lmdb"
|
||||
|
||||
uses_from_macos "bzip2"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
conflicts_with "proj", :because => "both install a `libproj.a` library"
|
||||
|
||||
def install
|
||||
|
|
|
@ -14,6 +14,8 @@ class BoostPython < Formula
|
|||
|
||||
depends_on "boost"
|
||||
|
||||
uses_from_macos "python@2"
|
||||
|
||||
def install
|
||||
# "layout" should be synchronized with boost
|
||||
args = %W[
|
||||
|
|
|
@ -14,6 +14,9 @@ class Boost < Formula
|
|||
|
||||
depends_on "icu4c"
|
||||
|
||||
uses_from_macos "bzip2"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
# Force boost to compile with the desired compiler
|
||||
open("user-config.jam", "a") do |file|
|
||||
|
|
|
@ -16,6 +16,9 @@ class BoostAT160 < Formula
|
|||
|
||||
keg_only :versioned_formula
|
||||
|
||||
uses_from_macos "bzip2"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
# Handle compile failure with boost/graph/adjacency_matrix.hpp
|
||||
# https://github.com/Homebrew/homebrew/pull/48262
|
||||
# https://svn.boost.org/trac/boost/ticket/11880
|
||||
|
|
|
@ -16,6 +16,9 @@ class Buku < Formula
|
|||
depends_on "openssl@1.1"
|
||||
depends_on "python"
|
||||
|
||||
uses_from_macos "libffi"
|
||||
uses_from_macos "expect" => :test
|
||||
|
||||
resource "asn1crypto" do
|
||||
url "https://files.pythonhosted.org/packages/9f/3d/8beae739ed8c1c8f00ceac0ab6b0e97299b42da869e24cf82851b27a9123/asn1crypto-1.3.0.tar.gz"
|
||||
sha256 "5a215cb8dc12f892244e3a113fe05397ee23c5c4ca7a69cd6e69811755efc42d"
|
||||
|
|
|
@ -15,6 +15,8 @@ class Ccze < Formula
|
|||
|
||||
depends_on "pcre"
|
||||
|
||||
uses_from_macos "ncurses"
|
||||
|
||||
def install
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823334
|
||||
inreplace "src/ccze-compat.c", "#if HAVE_SUBOPTARg", "#if HAVE_SUBOPTARG"
|
||||
|
|
|
@ -19,6 +19,8 @@ class Certbot < Formula
|
|||
depends_on "openssl@1.1"
|
||||
depends_on "python@3.8"
|
||||
|
||||
uses_from_macos "libffi"
|
||||
|
||||
resource "acme" do
|
||||
url "https://files.pythonhosted.org/packages/40/0c/eeac8a14019d6f297fbd3b2bacfa57d38e60147cc03542214662253a694c/acme-1.2.0.tar.gz"
|
||||
sha256 "0630c740d49bda945e97bd35fc8d6f02d082c8cb9e18f8fec0dbb3d395ac26ab"
|
||||
|
|
|
@ -21,6 +21,8 @@ class Cgdb < Formula
|
|||
depends_on "help2man" => :build
|
||||
depends_on "readline"
|
||||
|
||||
uses_from_macos "flex" => :build
|
||||
|
||||
def install
|
||||
system "sh", "autogen.sh" if build.head?
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
|
|
|
@ -14,6 +14,7 @@ class Cgns < Formula
|
|||
depends_on "gcc"
|
||||
depends_on "hdf5"
|
||||
depends_on "szip"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
|
|
|
@ -11,6 +11,8 @@ class Check < Formula
|
|||
sha256 "b61bb914f053c31a8dcb86394d10d3e3b77b2d71ebe2c4f21585f05f15594d8e" => :high_sierra
|
||||
end
|
||||
|
||||
uses_from_macos "gawk"
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
|
|
|
@ -25,6 +25,9 @@ class Clamav < Formula
|
|||
depends_on "pcre"
|
||||
depends_on "yara"
|
||||
|
||||
uses_from_macos "curl"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
skip_clean "share/clamav"
|
||||
|
||||
def install
|
||||
|
|
|
@ -39,6 +39,10 @@ class ClangFormat < Formula
|
|||
depends_on "cmake" => :build
|
||||
depends_on "ninja" => :build
|
||||
|
||||
uses_from_macos "libxml2"
|
||||
uses_from_macos "ncurses"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
(buildpath/"projects/libcxx").install resource("libcxx")
|
||||
(buildpath/"tools/clang").install resource("clang")
|
||||
|
|
|
@ -14,6 +14,8 @@ class Click < Formula
|
|||
|
||||
depends_on "rust" => :build
|
||||
|
||||
uses_from_macos "expect" => :test
|
||||
|
||||
def install
|
||||
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
|
||||
end
|
||||
|
|
|
@ -10,6 +10,8 @@ class Clojure < Formula
|
|||
depends_on "openjdk"
|
||||
depends_on "rlwrap"
|
||||
|
||||
uses_from_macos "ruby" => :build
|
||||
|
||||
def install
|
||||
system "./install.sh", prefix
|
||||
bin.env_script_all_files libexec/"bin", :JAVA_HOME => "${JAVA_HOME:-#{Formula["openjdk"].opt_prefix}}"
|
||||
|
|
|
@ -14,6 +14,8 @@ class Cmatrix < Formula
|
|||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
|
||||
uses_from_macos "ncurses"
|
||||
|
||||
def install
|
||||
system "autoreconf", "-i"
|
||||
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
|
||||
|
|
|
@ -22,6 +22,9 @@ class Collectd < Formula
|
|||
depends_on "libtool"
|
||||
depends_on "net-snmp"
|
||||
depends_on "riemann-client"
|
||||
|
||||
uses_from_macos "bison"
|
||||
uses_from_macos "flex"
|
||||
uses_from_macos "perl"
|
||||
|
||||
def install
|
||||
|
|
|
@ -15,6 +15,9 @@ class Comby < Formula
|
|||
depends_on "opam" => :build
|
||||
depends_on "pcre"
|
||||
depends_on "pkg-config"
|
||||
|
||||
uses_from_macos "m4"
|
||||
uses_from_macos "unzip"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
|
|
|
@ -23,6 +23,8 @@ class ConjureUp < Formula
|
|||
depends_on "python@3.8"
|
||||
depends_on "redis"
|
||||
|
||||
uses_from_macos "libffi"
|
||||
|
||||
# list generated from the 'requirements.txt' file in the repository root
|
||||
resource "aiofiles" do
|
||||
url "https://files.pythonhosted.org/packages/94/c2/e3cb60c1b7d9478203d4514e2d33ea424ad9bb98e45b21d6225db93f25c9/aiofiles-0.4.0.tar.gz"
|
||||
|
|
|
@ -19,6 +19,7 @@ class Cryptol < Formula
|
|||
depends_on "cabal-install" => :build
|
||||
depends_on "ghc" => :build
|
||||
depends_on "z3"
|
||||
|
||||
uses_from_macos "ncurses"
|
||||
|
||||
def install
|
||||
|
|
|
@ -32,6 +32,7 @@ class Csound < Formula
|
|||
depends_on "portmidi"
|
||||
depends_on "stk"
|
||||
depends_on "wiiuse"
|
||||
|
||||
uses_from_macos "bison" => :build
|
||||
uses_from_macos "flex" => :build
|
||||
uses_from_macos "curl"
|
||||
|
|
|
@ -22,7 +22,9 @@ class Curl < Formula
|
|||
keg_only :provided_by_macos
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
|
||||
uses_from_macos "openssl"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
system "./buildconf" if build.head?
|
||||
|
|
|
@ -16,6 +16,10 @@ class Daq < Formula
|
|||
sha256 "8ce4fbbbb9f6189f6ee51d3223a81ebc7ea76069353bd284822989d6ccc364a5" => :mavericks
|
||||
end
|
||||
|
||||
uses_from_macos "bison" => :build
|
||||
uses_from_macos "flex" => :build
|
||||
uses_from_macos "libpcap"
|
||||
|
||||
# libpcap on >= 10.12 has pcap_lib_version() instead of pcap_version
|
||||
# Reported 8 Oct 2017 to bugs AT snort DOT org
|
||||
if MacOS.version >= :sierra
|
||||
|
|
|
@ -15,6 +15,7 @@ class Dcmtk < Formula
|
|||
depends_on "libpng"
|
||||
depends_on "libtiff"
|
||||
depends_on "openssl@1.1"
|
||||
|
||||
uses_from_macos "libxml2"
|
||||
|
||||
def install
|
||||
|
|
|
@ -19,6 +19,8 @@ class DejaGnu < Formula
|
|||
depends_on "automake" => :build
|
||||
end
|
||||
|
||||
uses_from_macos "expect"
|
||||
|
||||
def install
|
||||
ENV.deparallelize # Or fails on Mac Pro
|
||||
system "autoreconf", "-iv" if build.head?
|
||||
|
|
|
@ -19,6 +19,9 @@ class DhallJson < Formula
|
|||
depends_on "cabal-install" => :build
|
||||
depends_on "ghc@8.6" => :build
|
||||
|
||||
uses_from_macos "ncurses"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
install_cabal_package
|
||||
end
|
||||
|
|
|
@ -12,6 +12,7 @@ class Diamond < Formula
|
|||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
|
|
|
@ -16,6 +16,7 @@ class Diesel < Formula
|
|||
depends_on "rust" => [:build, :test]
|
||||
depends_on "libpq"
|
||||
depends_on "mysql-client"
|
||||
|
||||
uses_from_macos "sqlite"
|
||||
|
||||
def install
|
||||
|
|
|
@ -44,6 +44,9 @@ class Dmd < Formula
|
|||
end
|
||||
end
|
||||
|
||||
uses_from_macos "unzip" => :build
|
||||
uses_from_macos "xz" => :build
|
||||
|
||||
def install
|
||||
# DMD defaults to v2.088.0 to bootstrap as of DMD 2.090.0
|
||||
# On MacOS Catalina, a version < 2.087.1 would not work due to TLS related symbols missing
|
||||
|
|
|
@ -16,7 +16,9 @@ class Docbook2x < Formula
|
|||
end
|
||||
|
||||
depends_on "docbook"
|
||||
|
||||
uses_from_macos "libxslt"
|
||||
uses_from_macos "perl"
|
||||
|
||||
def install
|
||||
inreplace "perl/db2x_xsltproc.pl", "http://docbook2x.sf.net/latest/xslt", "#{share}/docbook2X/xslt"
|
||||
|
|
|
@ -17,6 +17,8 @@ class DockerCompose < Formula
|
|||
depends_on "libyaml"
|
||||
depends_on "python@3.8"
|
||||
|
||||
uses_from_macos "libffi"
|
||||
|
||||
def install
|
||||
system "./script/build/write-git-sha" if build.head?
|
||||
venv = virtualenv_create(libexec, "python3")
|
||||
|
|
|
@ -11,6 +11,8 @@ class Dovecot < Formula
|
|||
end
|
||||
|
||||
depends_on "openssl@1.1"
|
||||
uses_from_macos "bzip2"
|
||||
uses_from_macos "sqlite"
|
||||
|
||||
resource "pigeonhole" do
|
||||
url "https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.9.tar.gz"
|
||||
|
|
|
@ -21,6 +21,9 @@ class Dpkg < Formula
|
|||
depends_on "perl"
|
||||
depends_on "xz" # For LZMA
|
||||
|
||||
uses_from_macos "bzip2"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
# We need to specify a recent gnutar, otherwise various dpkg C programs will
|
||||
# use the system "tar", which will fail because it lacks certain switches.
|
||||
|
|
|
@ -17,6 +17,8 @@ class Dps8m < Formula
|
|||
|
||||
depends_on "libuv"
|
||||
|
||||
uses_from_macos "expect" => :test
|
||||
|
||||
def install
|
||||
# Reported 23 Jul 2017 "make dosn't create bin directory"
|
||||
# See https://sourceforge.net/p/dps8m/mailman/message/35960505/
|
||||
|
|
|
@ -14,6 +14,7 @@ class Dub < Formula
|
|||
|
||||
depends_on "dmd" => :build
|
||||
depends_on "pkg-config"
|
||||
|
||||
uses_from_macos "curl"
|
||||
|
||||
def install
|
||||
|
|
|
@ -15,6 +15,7 @@ class Dwarf < Formula
|
|||
|
||||
depends_on "flex"
|
||||
depends_on "readline"
|
||||
|
||||
uses_from_macos "bison"
|
||||
|
||||
def install
|
||||
|
|
|
@ -13,6 +13,8 @@ class Dwarfutils < Formula
|
|||
|
||||
depends_on "libelf" => :build
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
system "./configure"
|
||||
system "make"
|
||||
|
|
|
@ -22,6 +22,8 @@ class Elinks < Formula
|
|||
|
||||
depends_on "openssl@1.1"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
# Two patches for compatibility with OpenSSL 1.1, from FreeBSD:
|
||||
# https://www.freshports.org/www/elinks/
|
||||
patch :p0 do
|
||||
|
|
|
@ -18,6 +18,9 @@ class Elm < Formula
|
|||
depends_on "cabal-install" => :build
|
||||
depends_on "ghc@8.6" => :build
|
||||
|
||||
uses_from_macos "ncurses"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
# elm-compiler needs to be staged in a subdirectory for the build process to succeed
|
||||
(buildpath/"elm-compiler").install Dir["*"]
|
||||
|
|
|
@ -23,6 +23,9 @@ class Emacs < Formula
|
|||
depends_on "pkg-config" => :build
|
||||
depends_on "gnutls"
|
||||
|
||||
uses_from_macos "libxml2"
|
||||
uses_from_macos "ncurses"
|
||||
|
||||
def install
|
||||
args = %W[
|
||||
--disable-dependency-tracking
|
||||
|
|
|
@ -19,6 +19,8 @@ class Erlang < Formula
|
|||
depends_on "openssl@1.1"
|
||||
depends_on "wxmac" # for GUI apps like observer
|
||||
|
||||
uses_from_macos "m4" => :build
|
||||
|
||||
resource "man" do
|
||||
url "https://www.erlang.org/download/otp_doc_man_22.2.tar.gz"
|
||||
mirror "https://fossies.org/linux/misc/otp_doc_man_22.2.tar.gz"
|
||||
|
|
|
@ -20,6 +20,8 @@ class ErlangAT20 < Formula
|
|||
depends_on "openssl@1.1"
|
||||
depends_on "wxmac"
|
||||
|
||||
uses_from_macos "m4" => :build
|
||||
|
||||
resource "man" do
|
||||
url "https://www.erlang.org/download/otp_doc_man_20.3.tar.gz"
|
||||
mirror "https://fossies.org/linux/misc/legacy/otp_doc_man_20.3.tar.gz"
|
||||
|
|
|
@ -20,6 +20,8 @@ class ErlangAT21 < Formula
|
|||
depends_on "openssl@1.1"
|
||||
depends_on "wxmac" # for GUI apps like observer
|
||||
|
||||
uses_from_macos "m4" => :build
|
||||
|
||||
resource "man" do
|
||||
url "https://www.erlang.org/download/otp_doc_man_21.3.tar.gz"
|
||||
mirror "https://fossies.org/linux/misc/otp_doc_man_21.3.tar.gz"
|
||||
|
|
|
@ -16,6 +16,8 @@ class Exa < Formula
|
|||
depends_on "cmake" => :build
|
||||
depends_on "rust" => :build
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
system "make", "install", "PREFIX=#{prefix}"
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ class Exempi < Formula
|
|||
end
|
||||
|
||||
depends_on "boost"
|
||||
|
||||
uses_from_macos "expat"
|
||||
|
||||
def install
|
||||
|
|
|
@ -17,6 +17,10 @@ class Exiv2 < Formula
|
|||
depends_on "gettext"
|
||||
depends_on "libssh"
|
||||
|
||||
uses_from_macos "curl"
|
||||
uses_from_macos "expat"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
args = std_cmake_args
|
||||
args += %W[
|
||||
|
|
|
@ -21,6 +21,8 @@ class Expat < Formula
|
|||
|
||||
keg_only :provided_by_macos
|
||||
|
||||
uses_from_macos "libbsd"
|
||||
|
||||
def install
|
||||
cd "expat" if build.head?
|
||||
system "autoreconf", "-fiv" if build.head?
|
||||
|
|
|
@ -11,6 +11,7 @@ class Fdclone < Formula
|
|||
end
|
||||
|
||||
depends_on "nkf" => :build
|
||||
|
||||
uses_from_macos "ncurses"
|
||||
|
||||
patch do
|
||||
|
|
|
@ -21,6 +21,7 @@ class Fdroidserver < Formula
|
|||
depends_on "python@3.8"
|
||||
depends_on "s3cmd"
|
||||
depends_on "webp"
|
||||
|
||||
uses_from_macos "libxml2"
|
||||
uses_from_macos "libxslt"
|
||||
uses_from_macos "zlib"
|
||||
|
|
|
@ -15,7 +15,6 @@ class Ffmpeg < Formula
|
|||
depends_on "nasm" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "texi2html" => :build
|
||||
|
||||
depends_on "aom"
|
||||
depends_on "fontconfig"
|
||||
depends_on "freetype"
|
||||
|
@ -44,6 +43,9 @@ class Ffmpeg < Formula
|
|||
depends_on "xvid"
|
||||
depends_on "xz"
|
||||
|
||||
uses_from_macos "bzip2"
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
args = %W[
|
||||
--prefix=#{prefix}
|
||||
|
|
|
@ -11,6 +11,8 @@ class Fio < Formula
|
|||
sha256 "1be63b9cabc31f619226bf5d7e653366f05ff3bc9beba15731654e9fe5e77579" => :high_sierra
|
||||
end
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
system "./configure"
|
||||
# fio's CFLAGS passes vital stuff around, and crushing it will break the build
|
||||
|
|
|
@ -19,6 +19,7 @@ class Fish < Formula
|
|||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "pcre2"
|
||||
|
||||
uses_from_macos "ncurses"
|
||||
|
||||
def install
|
||||
|
|
|
@ -7,6 +7,7 @@ class Fits < Formula
|
|||
bottle :unneeded
|
||||
|
||||
depends_on :java => "1.7+"
|
||||
|
||||
uses_from_macos "zlib"
|
||||
|
||||
def install
|
||||
|
|
|
@ -29,6 +29,9 @@ class Flex < Formula
|
|||
depends_on "help2man" => :build
|
||||
depends_on "gettext"
|
||||
|
||||
uses_from_macos "bison" => :build
|
||||
uses_from_macos "m4"
|
||||
|
||||
def install
|
||||
if build.head?
|
||||
ENV.prepend_path "PATH", Formula["gnu-sed"].opt_libexec/"gnubin"
|
||||
|
|
|
@ -21,10 +21,8 @@ class Folly < Formula
|
|||
depends_on "glog"
|
||||
depends_on "libevent"
|
||||
depends_on "lz4"
|
||||
|
||||
# https://github.com/facebook/folly/issues/966
|
||||
depends_on :macos => :high_sierra
|
||||
|
||||
depends_on "openssl@1.1"
|
||||
depends_on "snappy"
|
||||
depends_on "xz"
|
||||
|
|
|
@ -30,6 +30,9 @@ class Fontconfig < Formula
|
|||
depends_on "pkg-config" => :build
|
||||
depends_on "freetype"
|
||||
|
||||
uses_from_macos "bzip2"
|
||||
uses_from_macos "expat"
|
||||
|
||||
def install
|
||||
font_dirs = %w[
|
||||
/System/Library/Fonts
|
||||
|
|
|
@ -13,7 +13,10 @@ class FreeradiusServer < Formula
|
|||
|
||||
depends_on "openssl@1.1"
|
||||
depends_on "talloc"
|
||||
|
||||
uses_from_macos "perl"
|
||||
uses_from_macos "readline"
|
||||
uses_from_macos "sqlite"
|
||||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
|
|
|
@ -22,6 +22,7 @@ class Freetds < Formula
|
|||
depends_on "pkg-config" => :build
|
||||
depends_on "openssl@1.1"
|
||||
depends_on "unixodbc"
|
||||
|
||||
uses_from_macos "readline"
|
||||
|
||||
def install
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue