diff options
| author | Jack Nagel | 2013-02-02 00:09:28 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-02-02 00:09:28 -0600 |
| commit | 2fed17f4d1ecaf1d4b4c21e76805b478438f3785 (patch) | |
| tree | db87832dc0298d5311a54a9f585324d321d95601 /Library/Homebrew | |
| parent | ade998696d915c5ac0765c854adc2dd30a28fe64 (diff) | |
| download | brew-2fed17f4d1ecaf1d4b4c21e76805b478438f3785.tar.bz2 | |
Ensure :cairo and :pixman resolve to standard formula deps
We do not use X11 to satisfy these deps for consistency reasons,
but we should continue to support the symbols for compatibility.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/dependency_collector.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/requirements.rb | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/dependency_collector.rb b/Library/Homebrew/dependency_collector.rb index 59fae8254..703b6782c 100644 --- a/Library/Homebrew/dependency_collector.rb +++ b/Library/Homebrew/dependency_collector.rb @@ -83,6 +83,10 @@ private else X11Dependency::Proxy.for(spec.to_s, tag) end + when :cairo, :pixman + # We no longer use X11 psuedo-deps for cairo or pixman, + # so just return a standard formula dependency. + Dependency.new(spec.to_s, tag) when :x11 then X11Dependency.new(spec.to_s, tag) when :xcode then XcodeDependency.new(tag) when :mysql then MysqlInstalled.new(tag) diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb index 7538079b0..b4ef6b881 100644 --- a/Library/Homebrew/requirements.rb +++ b/Library/Homebrew/requirements.rb @@ -107,7 +107,7 @@ class X11Dependency < Requirement # Rather than instantiate it directly, a separate class is built # for each of the packages that we proxy to X11Dependency. class Proxy < self - PACKAGES = [:libpng, :freetype, :pixman, :fontconfig] + PACKAGES = [:libpng, :freetype, :fontconfig] def self.for(name, *tags) constant = name.capitalize |
