mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
17 lines
336 B
Ruby
17 lines
336 B
Ruby
require "requirement"
|
|
|
|
class UnsignedKextRequirement < Requirement
|
|
fatal true
|
|
|
|
satisfy(build_env: false) { MacOS.version < :yosemite }
|
|
|
|
def message
|
|
s = <<~EOS
|
|
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
|