mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
Sets a C preprocessor flag to force gtest to use its own tr1 library Fixes #23795 where open-vcdiff would fail to build on 10.9. Closes #23832. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
13 lines
410 B
Ruby
13 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
|