subversion: enable darwin keychain support (#176730)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
hyqhyq_3
2022-06-10 07:02:28 +08:00
committed by GitHub
parent accc4e2b60
commit 99fcf0ee74
2 changed files with 7 additions and 4 deletions

View File

@@ -6,6 +6,7 @@
, javahlBindings ? false
, saslSupport ? false
, lib, stdenv, fetchurl, apr, aprutil, zlib, sqlite, openssl, lz4, utf8proc
, CoreServices, Security
, autoconf, libtool
, apacheHttpd ? null, expat, swig ? null, jdk ? null, python3 ? null, py3c ? null, perl ? null
, sasl ? null, serf ? null
@@ -38,7 +39,8 @@ let
++ lib.optional httpSupport serf
++ lib.optionals pythonBindings [ python3 py3c ]
++ lib.optional perlBindings perl
++ lib.optional saslSupport sasl;
++ lib.optional saslSupport sasl
++ lib.optional stdenv.hostPlatform.isDarwin [ CoreServices Security ];
patches = [ ./apr-1.patch ] ++ extraPatches;
@@ -57,7 +59,6 @@ let
(lib.withFeatureAs (pythonBindings || perlBindings) "swig" swig)
(lib.withFeatureAs saslSupport "sasl" sasl)
(lib.withFeatureAs httpSupport "serf" serf)
"--disable-keychain"
"--with-zlib=${zlib.dev}"
"--with-sqlite=${sqlite.dev}"
] ++ lib.optionals javahlBindings [