1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Also fix neon-0.26 build

svn path=/nixpkgs/trunk/; revision=21392
This commit is contained in:
Yury G. Kudryashov 2010-04-27 22:05:00 +00:00
parent 293cde6747
commit 415f0fdc9f
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libxml2
{ stdenv, fetchurl, libxml2, pkgconfig
, compressionSupport ? true, zlib ? null
, sslSupport ? true, openssl ? null
}:
@ -14,11 +14,13 @@ stdenv.mkDerivation {
sha256 = "1pjrn5wb18gy419293hmwd02blmh36aaxsrgajm9nkkkjzqakncj";
};
buildInputs = [libxml2] ++ stdenv.lib.optional compressionSupport zlib;
buildInputs = [libxml2]
++ stdenv.lib.optional compressionSupport zlib
++ (if sslSupport then [ openssl pkgconfig ] else []);
configureFlags = ''
${if compressionSupport then "--with-zlib" else "--without-zlib"}
${if sslSupport then "--with-ssl --with-libs=${openssl}" else "--without-ssl"}
${if sslSupport then "--with-ssl" else "--without-ssl"}
--enable-shared
'';

View file

@ -4717,7 +4717,7 @@ let
neon = neon026;
neon026 = import ../development/libraries/neon/0.26.nix {
inherit fetchurl stdenv libxml2 zlib openssl;
inherit fetchurl stdenv libxml2 zlib openssl pkgconfig;
compressionSupport = true;
sslSupport = true;
};