git.iko.soy/typeable/nixpkgs
on master help sign in
serf: add change for the lack of kerberos on darwin
commit70befe1df1117ed8a74b55ea30b0b25010341235 authorJohn Wiegley <johnw@newartisans.com> dateFri 2 Jan 2015, 14:47 (12 years ago) parenta8ea864
1 file changed+4−2
pkgs/development/libraries/serf/default.nix+4−2
pkgs/development/libraries/serf/default.nix+4−2
@@ -18,9 +18,11 @@ stdenv.mkDerivation rec {
1818
1919 buildPhase = ''
2020 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="${
2222 if stdenv.isDarwin then "clang" else "${stdenv.cc}/bin/gcc"
23− }"
23+ }" ${
24+ if stdenv.isDarwin then "" else "GSSAPI=\"${kerberos}\""
25+ }
2426 '';
2527
2628 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-L/usr/lib";