FreeBSD: apr-util, cyrus-sasl, berkeley db, glib, gnutls, kerberos, libelf-freebsd, openldap, serf, guile, tet, shishi, gawk, gnugrep

This commit is contained in:
janus
2015-11-28 00:46:00 +00:00
parent 9897b35661
commit a472d836f6
21 changed files with 141 additions and 33 deletions

View File

@@ -9,7 +9,16 @@ stdenv.mkDerivation rec {
};
# Should be removed with >=2.4.43
patches = [ ./CVE-2015-6908.patch ];
patches = [
./CVE-2015-6908.patch
(
fetchurl {
sha256 = "5bcb3f9fb7186b380efa0a1c2d31ad755e190134b5c4dac07c65bbf7c0b6b3b3";
url = "https://github.com/LMDB/lmdb/commit/3360cbad668f678fb23c064ca4efcc5c9ae95d10.patch";
name = "openldap-clang-compilation.patch";
}
)
];
outputs = [ "out" "man" ];
@@ -19,7 +28,8 @@ stdenv.mkDerivation rec {
[ "--enable-overlays"
"--disable-dependency-tracking" # speeds up one-time build
] ++ stdenv.lib.optional (openssl == null) "--without-tls"
++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl";
++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl"
++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
dontPatchELF = 1; # !!!