
- Move `odeprecated` to `odisabled` - Remove `odisabled` - Enable automatic cleanup on install/reinstall/upgrade.
19 lines
440 B
Ruby
19 lines
440 B
Ruby
class Formula
|
|
module Compat
|
|
# Run `scons` using a Homebrew-installed version rather than whatever is
|
|
# in the `PATH`.
|
|
def scons(*)
|
|
odisabled("scons", 'system "scons"')
|
|
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.
|
|
def make(*)
|
|
odisabled("make", 'system "make"')
|
|
end
|
|
end
|
|
|
|
prepend Compat
|
|
end
|