aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2014-03-04 21:19:19 -0800
committerAdam Vandenberg2014-03-07 07:05:08 -0800
commita35ca5343a7a809c6d7ff855d6170d664fe5219a (patch)
treed9f7569aa542c83817a3d4081b96e82746684d7c /Library
parent1cb5cfbce3561a9b93af902ba6626b557f325c8e (diff)
downloadhomebrew-a35ca5343a7a809c6d7ff855d6170d664fe5219a.tar.bz2
tcpflow: fix build on Snow Leopard
* use newer sqlite on older os x * upstream patch for 10.6 Closes #25676.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tcpflow.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/tcpflow.rb b/Library/Formula/tcpflow.rb
index f388336a1..4819dbc85 100644
--- a/Library/Formula/tcpflow.rb
+++ b/Library/Formula/tcpflow.rb
@@ -13,6 +13,12 @@ class Tcpflow < Formula
end
depends_on 'boost' => :build
+ depends_on 'sqlite' if MacOS.version < :lion
+
+ # Upstream fix for 10.6; can be removed in next release
+ def patches
+ "https://github.com/simsong/tcpflow/commit/1cd5a9168c2ebf72c1fadcd64634398bd8470bce.diff"
+ end
def install
system "bash", "./bootstrap.sh" if build.head?