weechat: revision bump, Mojave fix

This commit is contained in:
Dawid Dziurla 2019-11-18 12:02:32 +01:00 committed by FX Coudert
parent 05c5cff596
commit bdc71e4479

View file

@ -3,6 +3,7 @@ class Weechat < Formula
homepage "https://www.weechat.org"
url "https://weechat.org/files/src/weechat-2.6.tar.xz"
sha256 "fa9e3130e7afdfb6eff1b7892caac3efdd38a442f9989ca8c061eced2c755148"
revision 1
head "https://github.com/weechat/weechat.git"
bottle do
@ -38,6 +39,10 @@ class Weechat < Formula
args << "-DRUBY_LIB=/usr/lib/libruby.dylib"
end
if MacOS.version >= :mojave && MacOS::CLT.installed?
ENV["SDKROOT"] = ENV["HOMEBREW_SDKROOT"] = MacOS::CLT.sdk_path(MacOS.version)
end
mkdir "build" do
system "cmake", "..", *args
system "make", "install", "VERBOSE=1"