lbdb: fix compilation on Mountain Lion and Mavericks

Apply three patches from chrisbarrett/lbdb to fix compilation
on Mountain Lion and Mavericks

Closes Homebrew/homebrew#24761.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Pavel Borzenkov 2013-11-29 12:12:31 +04:00 committed by Adam Vandenberg
parent 585c8a4547
commit f9e6977b59
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,16 @@ class Lbdb < Formula
head 'https://github.com/tgray/lbdb.git'
def patches
p = []
if MacOS.version >= :mountain_lion
p << 'https://github.com/chrisbarrett/lbdb/commit/db0440670194568bbfe2137fc063eb30cf26cb2a.diff'
p << 'https://github.com/chrisbarrett/lbdb/commit/b89ac6ee50e2c03c32635269d9818c045b0abb6f.diff'
p << 'https://github.com/chrisbarrett/lbdb/commit/6cbef5feb4fd921deb08eb52b4169647909946ae.diff'
end
p
end
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"