blob: 1a6c16795df55a04eabb5fdb91598655e315a42a (
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 { MacOS.version < :yosemite }
  def message
    s = <<-EOS.undent
      Building this formula from source isn't possible due to OS X
      Yosemite and above's strict unsigned kext ban.
    EOS
    s += super
    s
  end
end
 |