mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
17 lines
317 B
Ruby
17 lines
317 B
Ruby
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
|