aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamillo Lugaresi2012-06-08 04:24:50 +0200
committerJack Nagel2012-07-01 12:17:49 -0500
commit4c10eaf33243e1af956905acb8035a4fa51d4cac (patch)
tree401340a0ba9dfeb3966158bb91ae954f55cbdcc6
parent18475951680f9a6e4d3ad806db7ee132954a7ec3 (diff)
downloadbrew-4c10eaf33243e1af956905acb8035a4fa51d4cac.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.
-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