Add ant dependency
Closes Homebrew/homebrew#23484. Closes Homebrew/homebrew#23494. Closes Homebrew/homebrew#23681.
This commit is contained in:
parent
64b472788a
commit
076df32be3
@ -109,6 +109,7 @@ class DependencyCollector
|
|||||||
when :python3 then PythonDependency.new("3", tags)
|
when :python3 then PythonDependency.new("3", tags)
|
||||||
# Tiger's ld is too old to properly link some software
|
# Tiger's ld is too old to properly link some software
|
||||||
when :ld64 then LD64Dependency.new if MacOS.version < :leopard
|
when :ld64 then LD64Dependency.new if MacOS.version < :leopard
|
||||||
|
when :ant then ant_dep(spec, tags)
|
||||||
else
|
else
|
||||||
raise "Unsupported special dependency #{spec.inspect}"
|
raise "Unsupported special dependency #{spec.inspect}"
|
||||||
end
|
end
|
||||||
@ -141,6 +142,13 @@ class DependencyCollector
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def ant_dep(spec, tags)
|
||||||
|
if MacOS.version >= :mavericks
|
||||||
|
tags << :build
|
||||||
|
Dependency.new(spec.to_s, tags)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def resource_dep(spec, tags)
|
def resource_dep(spec, tags)
|
||||||
tags << :build
|
tags << :build
|
||||||
strategy = spec.download_strategy
|
strategy = spec.download_strategy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user