blob: 2ffc8fda35178872054b945a21192c09403c412d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  | 
require "requirement"
class UnsignedKextRequirement < Requirement
  fatal true
  satisfy(build_env: false) { MacOS.version < :yosemite }
  def message
    s = <<-EOS.undent
      Building this formula from source isn't possible due to OS X
      Yosemite (10.10) and above's strict unsigned kext ban.
    EOS
    s += super
    s
  end
end
  |