From aa5b4f40c064e132dc39ea92ccb26d866ea80639 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Wed, 2 Nov 2016 06:02:28 -0700 Subject: [PATCH] zorba: revision for icu4c also fix the build on 10.11 with Xcode 8 Closes #6528. Signed-off-by: ilovezfs --- Formula/zorba.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Formula/zorba.rb b/Formula/zorba.rb index 4fd4d2d3c2..f4bb0847fe 100644 --- a/Formula/zorba.rb +++ b/Formula/zorba.rb @@ -3,6 +3,7 @@ class Zorba < Formula homepage "http://www.zorba.io/" url "https://github.com/28msec/zorba/archive/3.1.tar.gz" sha256 "a27e8160aca5d3aa5a6525b930da7edde44f8824dd4fba39aaef3b9af2717b74" + revision 1 bottle do sha256 "e63eea2da12126effd6665b24371eb14445633796b5bc54aaf208c07fc45844d" => :sierra @@ -31,6 +32,12 @@ class Zorba < Formula args << "-DZORBA_VERIFY_PEER_SSL_CERTIFICATE=ON" if build.with? "ssl-verification" args << "-DZORBA_WITH_BIG_INTEGER=ON" if build.with? "big-integer" + # dyld: lazy symbol binding failed: Symbol not found: _clock_gettime + # usual superenv fix doesn't work since zorba doesn't use HAVE_CLOCK_GETTIME + if MacOS.version == :el_capitan && MacOS::Xcode.installed? && MacOS::Xcode.version >= "8.0" + args << "-DZORBA_HAVE_CLOCKGETTIME=OFF" + end + mkdir "build" do system "cmake", "..", *args system "make", "install"