aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2013-11-12 15:59:27 +0000
committerMike McQuaid2013-11-12 15:59:27 +0000
commitffa87d02020f414cf472b119c8b7565e16436178 (patch)
tree79d17a6902d612f1ca4e79346c1925439c793353 /Library/Formula
parentf5a33f4a926a32964007dd8aeb6b69ec6faa4ad1 (diff)
downloadhomebrew-ffa87d02020f414cf472b119c8b7565e16436178.tar.bz2
luabind: cleanup patches, args.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/luabind.rb22
1 files changed, 13 insertions, 9 deletions
diff --git a/Library/Formula/luabind.rb b/Library/Formula/luabind.rb
index d46521a93..b26e58b02 100644
--- a/Library/Formula/luabind.rb
+++ b/Library/Formula/luabind.rb
@@ -10,20 +10,24 @@ class Luabind < Formula
depends_on 'boost-build' => :build
def patches
- [
- # patch Jamroot to perform lookup for shared objects with .dylib suffix
- "https://gist.github.com/DennisOSRM/3728987/raw/052251fcdc23602770f6c543be9b3e12f0cac50a/Jamroot.diff",
- # apply upstream commit to enable building with clang
- "https://github.com/luabind/luabind/commit/3044a9053ac50977684a75c4af42b2bddb853fad.diff",
- # include C header that is not pulled in automatically on OS X 10.9 anymore
- "https://gist.github.com/DennisOSRM/a246514bf7d01631dda8/raw/0e83503dbf862ebfb6ac063338a6d7bca793f94d/object_rep.diff"
- ]
+ p = [
+ # patch Jamroot to perform lookup for shared objects with .dylib suffix
+ "https://gist.github.com/DennisOSRM/3728987/raw/052251fcdc23602770f6c543be9b3e12f0cac50a/Jamroot.diff",
+ # apply upstream commit to enable building with clang
+ "https://github.com/luabind/luabind/commit/3044a9053ac50977684a75c4af42b2bddb853fad.diff",
+ ]
+ if MacOS.version >= :mavericks
+ # include C header that is not pulled in automatically on OS X 10.9 anymore
+ # submitted https://github.com/luabind/luabind/pull/20
+ p << "https://gist.github.com/DennisOSRM/a246514bf7d01631dda8/raw/0e83503dbf862ebfb6ac063338a6d7bca793f94d/object_rep.diff"
+ end
+ p
end
def install
args = [
"release",
- "install"
+ "install",
]
if ENV.compiler == :clang
args << "--toolset=clang"