diff options
| author | Johnathan Conley | 2014-01-10 23:54:18 -0600 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-11 10:22:42 +0000 |
| commit | 33db3a02fb934460fec546b261a02639f6ce234d (patch) | |
| tree | 7676681c658724997850d88aff6b3f5ca8931489 /Library/Formula | |
| parent | 0c3161762231a7d5f9060aa87e008572c846d057 (diff) | |
| download | homebrew-33db3a02fb934460fec546b261a02639f6ce234d.tar.bz2 | |
coin: fix clang compilation.
Closes #25809.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/coin.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/coin.rb b/Library/Formula/coin.rb index da911c0e5..726e56e93 100644 --- a/Library/Formula/coin.rb +++ b/Library/Formula/coin.rb @@ -6,10 +6,16 @@ class Coin < Formula sha1 '8e9f05628461963623686d3ec53102214e233dd1' def install + # https://bitbucket.org/Coin3D/coin/issue/47 (fix misspelled test flag) + inreplace "configure", '-fno-for-scoping', '-fno-for-scope' + + # https://bitbucket.org/Coin3D/coin/issue/45 (suppress math-undefs) + # http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/graphics/Coin/patches/patch-include_Inventor_C_base_math-undefs.h + inreplace "include/Inventor/C/base/math-undefs.h", "#ifndef COIN_MATH_UNDEFS_H", "#if false" + system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--with-framework-prefix=#{lib}" system "make install" end - end |
