aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorHarald Fernengel2014-10-22 20:21:16 +0200
committerMike McQuaid2014-10-23 08:54:48 +0100
commit42204a10e78e27cf8b537b297ac65f5ef8644b16 (patch)
tree7c00b72f3704bd80771ccc4bbcfd95075467a7e6 /Library/Formula
parentd5c4053dae8d679b72cde74dfe47605e0fbf9238 (diff)
downloadhomebrew-42204a10e78e27cf8b537b297ac65f5ef8644b16.tar.bz2
emscripten: Yosemite build fix.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/emscripten.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/emscripten.rb b/Library/Formula/emscripten.rb
index 55d0bdf28..51ee46df7 100644
--- a/Library/Formula/emscripten.rb
+++ b/Library/Formula/emscripten.rb
@@ -65,6 +65,10 @@ class Emscripten < Formula
]
cd "fastcomp" do
+ # Fix for parsing Mac OS X version numbers >= 10.10
+ # https://groups.google.com/forum/#!msg/emscripten-discuss/8gb88R5eyqs/p9_82Wi2pSAJ
+ inreplace "Makefile.rules", '10.([0-9])', '10.([0-9]+)'
+ inreplace "Makefile.rules", '(10.[0-9])', '(10.[0-9]+)'
system "./configure", *args
system "make"
system "make", "install"