cac946d3e9
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>
12 lines
410 B
Ruby
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
|