From 0e77738e8268abfdf53a21a0bef5c8e4f9bb4421 Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Sun, 30 Sep 2018 12:07:49 -0700 Subject: [PATCH] Use fails_with :gcc_4_2 rather than :gcc (#32583) fails_with :gcc was renamed to :gcc_4_2. --- Formula/freeswitch.rb | 2 +- Formula/llvm.rb | 2 +- Formula/llvm@3.9.rb | 2 +- Formula/llvm@4.rb | 2 +- Formula/llvm@5.rb | 2 +- Formula/llvm@6.rb | 2 +- Formula/node.rb | 2 +- Formula/node@6.rb | 2 +- Formula/node@8.rb | 2 +- Formula/pypy.rb | 2 +- Formula/pypy3.rb | 2 +- Formula/rust.rb | 2 +- Formula/scipy.rb | 2 +- Formula/swift.rb | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Formula/freeswitch.rb b/Formula/freeswitch.rb index fb6528326c..039b55832c 100644 --- a/Formula/freeswitch.rb +++ b/Formula/freeswitch.rb @@ -35,7 +35,7 @@ class Freeswitch < Formula depends_on "sqlite" # https://github.com/Homebrew/homebrew/issues/42865 - fails_with :gcc + fails_with :gcc_4_2 #----------------------- Begin sound file resources ------------------------- sounds_url_base = "https://files.freeswitch.org/releases/sounds" diff --git a/Formula/llvm.rb b/Formula/llvm.rb index d738c92ab8..947724ff5b 100644 --- a/Formula/llvm.rb +++ b/Formula/llvm.rb @@ -150,7 +150,7 @@ class Llvm < Formula # According to the official llvm readme, GCC 4.7+ is required fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.6").each do |n| fails_with :gcc => n end diff --git a/Formula/llvm@3.9.rb b/Formula/llvm@3.9.rb index 471e6c6fbf..57585590f9 100644 --- a/Formula/llvm@3.9.rb +++ b/Formula/llvm@3.9.rb @@ -56,7 +56,7 @@ class LlvmAT39 < Formula # According to the official llvm readme, GCC 4.7+ is required fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.6").each do |n| fails_with :gcc => n end diff --git a/Formula/llvm@4.rb b/Formula/llvm@4.rb index 379232d4c0..51184f0675 100644 --- a/Formula/llvm@4.rb +++ b/Formula/llvm@4.rb @@ -55,7 +55,7 @@ class LlvmAT4 < Formula # According to the official llvm readme, GCC 4.7+ is required fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.6").each do |n| fails_with :gcc => n end diff --git a/Formula/llvm@5.rb b/Formula/llvm@5.rb index 47daff2be6..8ba9d2ccd1 100644 --- a/Formula/llvm@5.rb +++ b/Formula/llvm@5.rb @@ -54,7 +54,7 @@ class LlvmAT5 < Formula # According to the official llvm readme, GCC 4.7+ is required fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.6").each do |n| fails_with :gcc => n end diff --git a/Formula/llvm@6.rb b/Formula/llvm@6.rb index 0b986838ed..a0c63ae9ae 100644 --- a/Formula/llvm@6.rb +++ b/Formula/llvm@6.rb @@ -62,7 +62,7 @@ class LlvmAT6 < Formula # According to the official llvm readme, GCC 4.7+ is required fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.6").each do |n| fails_with :gcc => n end diff --git a/Formula/node.rb b/Formula/node.rb index 6516f90d34..375559bccb 100644 --- a/Formula/node.rb +++ b/Formula/node.rb @@ -26,7 +26,7 @@ class Node < Formula # Per upstream - "Need g++ 4.8 or clang++ 3.4". fails_with :clang if MacOS.version <= :snow_leopard fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.7").each do |n| fails_with :gcc => n end diff --git a/Formula/node@6.rb b/Formula/node@6.rb index 6a7c974f5e..258dec38af 100644 --- a/Formula/node@6.rb +++ b/Formula/node@6.rb @@ -25,7 +25,7 @@ class NodeAT6 < Formula # Per upstream - "Need g++ 4.8 or clang++ 3.4". fails_with :clang if MacOS.version <= :snow_leopard fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.7").each do |n| fails_with :gcc => n end diff --git a/Formula/node@8.rb b/Formula/node@8.rb index da46e523ed..c635489bf5 100644 --- a/Formula/node@8.rb +++ b/Formula/node@8.rb @@ -27,7 +27,7 @@ class NodeAT8 < Formula # Per upstream - "Need g++ 4.8 or clang++ 3.4". fails_with :clang if MacOS.version <= :snow_leopard fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.7").each do |n| fails_with :gcc => n end diff --git a/Formula/pypy.rb b/Formula/pypy.rb index 3d66279a78..3ab71a9979 100644 --- a/Formula/pypy.rb +++ b/Formula/pypy.rb @@ -23,7 +23,7 @@ class Pypy < Formula depends_on "sqlite" # https://bugs.launchpad.net/ubuntu/+source/gcc-4.2/+bug/187391 - fails_with :gcc + fails_with :gcc_4_2 resource "bootstrap" do url "https://bitbucket.org/pypy/pypy/downloads/pypy2-v6.0.0-osx64.tar.bz2" diff --git a/Formula/pypy3.rb b/Formula/pypy3.rb index c44df18724..a68d909991 100644 --- a/Formula/pypy3.rb +++ b/Formula/pypy3.rb @@ -24,7 +24,7 @@ class Pypy3 < Formula depends_on "xz" # https://bugs.launchpad.net/ubuntu/+source/gcc-4.2/+bug/187391 - fails_with :gcc + fails_with :gcc_4_2 # packaging depends on pyparsing resource "pyparsing" do diff --git a/Formula/rust.rb b/Formula/rust.rb index 10b5fd10e0..f0e6b5de40 100644 --- a/Formula/rust.rb +++ b/Formula/rust.rb @@ -48,7 +48,7 @@ class Rust < Formula # According to the official readme, GCC 4.7+ is required fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.6").each do |n| fails_with :gcc => n end diff --git a/Formula/scipy.rb b/Formula/scipy.rb index da5251cdca..affc1a4892 100644 --- a/Formula/scipy.rb +++ b/Formula/scipy.rb @@ -25,7 +25,7 @@ class Scipy < Formula # https://github.com/Homebrew/homebrew-python/issues/110 # There are ongoing problems with gcc+accelerate. - fails_with :gcc + fails_with :gcc_4_2 def install config = <<~EOS diff --git a/Formula/swift.rb b/Formula/swift.rb index 73a1f319e2..062e7d747e 100644 --- a/Formula/swift.rb +++ b/Formula/swift.rb @@ -20,7 +20,7 @@ class Swift < Formula # According to the official llvm readme, GCC 4.7+ is required fails_with :gcc_4_0 - fails_with :gcc + fails_with :gcc_4_2 ("4.3".."4.6").each do |n| fails_with :gcc => n end