git.iko.soy/typeable/nixpkgs
on master help sign in
serf: add change for the lack of kerberos on darwin
70befe1John Wiegley
pkgs/development/libraries/serf/default.nix+4−2
@@ -18,9 +18,11 @@ stdenv.mkDerivation rec {
18
18
19 buildPhase = ''
19 buildPhase = ''
20 scons PREFIX="$out" OPENSSL="${openssl}" ZLIB="${zlib}" APR="$(echo "${apr}"/bin/*-config)" \
20 scons PREFIX="$out" OPENSSL="${openssl}" ZLIB="${zlib}" APR="$(echo "${apr}"/bin/*-config)" \
21− APU="$(echo "${aprutil}"/bin/*-config)" GSSAPI="${kerberos}" CC="${
21+ APU="$(echo "${aprutil}"/bin/*-config)" CC="${
22 if stdenv.isDarwin then "clang" else "${stdenv.cc}/bin/gcc"
22 if stdenv.isDarwin then "clang" else "${stdenv.cc}/bin/gcc"
23− }"
23+ }" ${
24+ if stdenv.isDarwin then "" else "GSSAPI=\"${kerberos}\""
25+ }
24 '';
26 '';
25
27
26 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-L/usr/lib";
28 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-L/usr/lib";