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:
Camillo Lugaresi authored and Jack Nagel committed 2012-07-01 12:17:49 -05:00
1 parent cb0f803417
commit f00ff21ec5
1 file changed
+1 -1
+1 -1
View File
@@ -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