From 293863d99c321a3e5164a0fd1ba14d19c1547279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Fri, 1 May 2015 12:54:32 -0600 Subject: [PATCH] git: allow to set NO_APPLE_COMMON_CRYPTO=1 This fixes a build failure on OS X 10.10. Unfortunately, this disabled https access, so it is only enabled if 'disable_crypto' parameter is 'true'. --- pkgs/git.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/git.yaml b/pkgs/git.yaml index 4e7be7d35..c230a4fac 100644 --- a/pkgs/git.yaml +++ b/pkgs/git.yaml @@ -10,6 +10,7 @@ sources: defaults: # /bin/git contains hard-coded path relocatable: false + disable_crypto: false build_stages: @@ -19,6 +20,13 @@ build_stages: bash: | export PERL_PATH="/usr/bin/env perl" +- when: platform == 'Darwin' and disable_crypto + name: fix_crypto_compile_failure + before: configure + handler: bash + bash: | + export NO_APPLE_COMMON_CRYPTO=1 + - name: configure mode: override extra: ['--with-libpcre=${PCRE_DIR}', '--with-zlib=${ZLIB_DIR}', '--with-iconv=${LIBICONV_DIR}', '--with-expat=${EXPAT_DIR}', '--with-curl=${CURL_DIR}']