cogl: remove references to pre-Mavericks.

This commit is contained in:
Mike McQuaid 2019-01-24 18:33:46 +00:00
parent 05201065b3
commit 4a8af77b83
No known key found for this signature in database
GPG key ID: 48A898132FD8EE70

View file

@ -26,31 +26,10 @@ class Cogl < Formula
depends_on "gtk-doc" depends_on "gtk-doc"
depends_on "pango" depends_on "pango"
# Lion's grep fails, which later results in compilation failures:
# libtool: link: /usr/bin/grep -E -e [really long regexp] ".libs/libcogl.exp" > ".libs/libcogl.expT"
# grep: Regular expression too big
if MacOS.version == :lion
resource "grep" do
url "https://ftp.gnu.org/gnu/grep/grep-2.20.tar.xz"
mirror "https://ftpmirror.gnu.org/grep/grep-2.20.tar.xz"
sha256 "f0af452bc0d09464b6d089b6d56a0a3c16672e9ed9118fbe37b0b6aeaf069a65"
end
end
def install def install
# Don't dump files in $HOME. # Don't dump files in $HOME.
ENV["GI_SCANNER_DISABLE_CACHE"] = "yes" ENV["GI_SCANNER_DISABLE_CACHE"] = "yes"
if MacOS.version == :lion
resource("grep").stage do
system "./configure", "--disable-dependency-tracking",
"--disable-nls",
"--prefix=#{buildpath}/grep"
system "make", "install"
ENV["GREP"] = "#{buildpath}/grep/bin/grep"
end
end
args = %W[ args = %W[
--disable-dependency-tracking --disable-dependency-tracking
--disable-silent-rules --disable-silent-rules