libgcrypt: don't make check on >=10.11

This should be reverted once the error has been resolved upstream.

Refs:
This commit is contained in:
Dominyk Tiller 2015-07-25 06:34:30 +01:00
parent 44cc3e1b87
commit ee44c4c9ec

View file

@ -2,8 +2,8 @@ class Libgcrypt < Formula
desc "Cryptographic library based on the code from GnuPG"
homepage "https://gnupg.org/"
url "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.3.tar.bz2"
mirror "https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.3.tar.bz2"
mirror "http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.3.tar.bz2"
mirror "ftp://mirror.tje.me.uk/pub/mirrors/ftp.gnupg.org/libgcrypt/libgcrypt-1.6.3.tar.bz2"
sha256 "41b4917b93ae34c6a0e2127378d7a4d66d805a2a86a09911d4f9bd871db7025f"
revision 1
@ -40,7 +40,10 @@ class Libgcrypt < Formula
# Parallel builds work, but only when run as separate steps
system "make"
system "make", "check"
# Make check currently dies on El Capitan
# https://github.com/Homebrew/homebrew/issues/41599
# https://bugs.gnupg.org/gnupg/issue2056
system "make", "check" unless MacOS.version >= :el_capitan
system "make", "install"
end