diff options
| author | Juan Sebastian Casallas | 2014-10-02 00:53:26 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-02 14:34:36 -0700 |
| commit | 4c6717acec002e9886fb9dc475ce66dccc6e2bb1 (patch) | |
| tree | 6667d1ce2bc9984bf29f585d33a1344e7f41629a /Library | |
| parent | 9c5373d8abe1c31f7ca75a07d280b3ef67d00353 (diff) | |
| download | homebrew-4c6717acec002e9886fb9dc475ce66dccc6e2bb1.tar.bz2 | |
gmtl: patch scons script to build on clang.
The upstream scons script only allows to compile using gcc, but not clang
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gmtl.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/gmtl.rb b/Library/Formula/gmtl.rb index dfe162e70..81fef0f84 100644 --- a/Library/Formula/gmtl.rb +++ b/Library/Formula/gmtl.rb @@ -17,6 +17,13 @@ class Gmtl < Formula depends_on 'scons' => :build + # The scons script in gmtl only works for gcc, patch it + # https://sourceforge.net/p/ggt/bugs/28/ + patch do + url "https://gist.githubusercontent.com/anonymous/c16cad998a4903e6b3a8/raw/e4669b3df0e14996c7b7b53937dd6b6c2cbc7c04/gmtl_Sconstruct.diff" + sha1 "6470e7db1df3c5b3d73d301c761bfcffc8de5913" + end + def install scons "install", "prefix=#{prefix}" end |
