homebrew-core/Formula/open-vcdiff.rb
William Mayor cac946d3e9 open-vcdiff: fix 10.9 build
Sets a C preprocessor flag to force gtest to use its own tr1 library
Fixes Homebrew/homebrew#23795 where open-vcdiff would fail to build on 10.9.

Closes Homebrew/homebrew#23832.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-31 17:18:07 -07:00

12 lines
410 B
Ruby

require 'formula'
class OpenVcdiff < Formula
homepage 'http://code.google.com/p/open-vcdiff/'
url 'http://open-vcdiff.googlecode.com/files/open-vcdiff-0.8.3.tar.gz'
sha1 'fd14e8d46edac14988f1a6cab479bc07677d487c'
def install
system "./configure", "CPPFLAGS=-DGTEST_USE_OWN_TR1_TUPLE=1", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end