Add depends_on :libpng as an alias to :x11
Some formulae ask for the x11 environment with ENV.libpng; mirror this in the new dependency form.
This commit is contained in:
parent
1847595168
commit
4c10eaf332
@ -29,7 +29,7 @@ class DependencyCollector
|
||||
spec, tag = spec.shift if spec.is_a? Hash
|
||||
|
||||
dep = case spec
|
||||
when :x11
|
||||
when :x11, :libpng
|
||||
X11Dependency.new(tag)
|
||||
when String
|
||||
if LANGUAGE_MODULES.include? tag
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user