aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dependencies.rb
diff options
context:
space:
mode:
authorCamillo Lugaresi2012-06-08 04:24:50 +0200
committerJack Nagel2012-07-01 12:17:49 -0500
commitf00ff21ec5b406bb24933c52532331189d29fa4d (patch)
tree215bc38aa19518a963016939b491f413084a83b8 /Library/Homebrew/dependencies.rb
parentcb0f8034176caa62f98cd3cec110a640356d4e4c (diff)
downloadhomebrew-f00ff21ec5b406bb24933c52532331189d29fa4d.tar.bz2
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.
Diffstat (limited to 'Library/Homebrew/dependencies.rb')
-rw-r--r--Library/Homebrew/dependencies.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb
index 5164058d0..8b056f4ae 100644
--- a/Library/Homebrew/dependencies.rb
+++ b/Library/Homebrew/dependencies.rb
@@ -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