From 2f7721f1b45a2f3aee3b28631c539548db275836 Mon Sep 17 00:00:00 2001
From: Misty De Meo <mistydemeo@gmail.com>
Date: Mon, 6 May 2013 17:52:42 -0500
Subject: [PATCH] Add :expat special dependency

This will be expanded to a full expat dependency on Tiger alone.

Fixes mistydemeo/tigerbrew#30.
---
 Library/Homebrew/dependency_collector.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Library/Homebrew/dependency_collector.rb b/Library/Homebrew/dependency_collector.rb
index a8e2609ac6..e5734a79e1 100644
--- a/Library/Homebrew/dependency_collector.rb
+++ b/Library/Homebrew/dependency_collector.rb
@@ -117,6 +117,8 @@ class DependencyCollector
     when :emacs      then EmacsRequirement.new(tags)
     # Tiger's ld is too old to properly link some software
     when :ld64       then LD64Dependency.new if MacOS.version < :leopard
+    # Tiger doesn't ship expat in /usr/lib
+    when :expat      then Dependency.new("expat", tag) if MacOS.version < :leopard
     when :python2
       PythonRequirement.new(tags)
     else
-- 
GitLab