2019-01-08 19:13:46 +00:00
|
|
|
class Formula
|
|
|
|
module Compat
|
|
|
|
# Run `scons` using a Homebrew-installed version rather than whatever is
|
|
|
|
# in the `PATH`.
|
2019-01-23 21:57:37 +00:00
|
|
|
def scons(*)
|
|
|
|
odisabled("scons", 'system "scons"')
|
2019-01-08 19:13:46 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
# Run `make` 3.81 or newer.
|
|
|
|
# Uses the system make on Leopard and newer, and the
|
|
|
|
# path to the actually-installed make on Tiger or older.
|
2019-01-23 21:57:37 +00:00
|
|
|
def make(*)
|
|
|
|
odisabled("make", 'system "make"')
|
2019-01-08 19:13:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
prepend Compat
|
|
|
|
end
|