libgnurl: Use recommended configure flags.

See https://github.com/NixOS/nixpkgs/issues/30219#issue-263714526
This commit is contained in:
James Cook 2017-10-08 19:43:35 +00:00
parent 76cec2dfa6
commit 44e3607ccf

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, autoreconfHook, perl, zlib, gnutls, gss, openssl { stdenv, fetchurl, autoreconfHook, perl, zlib, gnutls, gss, openssl
, libssh2, libidn, libpsl, openldap }: , libidn }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "7.54.1"; version = "7.54.1";
@ -12,20 +12,20 @@ stdenv.mkDerivation rec {
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ perl gnutls gss openssl zlib libidn libssh2 libpsl openldap ]; buildInputs = [ perl gnutls gss openssl zlib libidn ];
preConfigure = '' preConfigure = ''
sed -e 's|/usr/bin|/no-such-path|g' -i.bak configure sed -e 's|/usr/bin|/no-such-path|g' -i.bak configure
''; '';
configureFlags = [ configureFlags = [
"--with-zlib" "--enable-ipv6" "--with-gnutls" "--without-libmetalink" "--without-winidn"
"--with-gssapi" "--without-librtmp" "--without-nghttp2" "--without-nss" "--without-cyassl"
"--with-libssh2" "--without-polarssl" "--without-ssl" "--without-winssl"
"--with-libidn" "--without-darwinssl" "--disable-sspi" "--disable-ntlm-wb" "--disable-ldap"
"--with-libpsl" "--disable-rtsp" "--disable-dict" "--disable-telnet" "--disable-tftp"
"--enable-ldap" "--disable-pop3" "--disable-imap" "--disable-smtp" "--disable-gopher"
"--enable-ldaps" "--disable-file" "--disable-ftp" "--disable-smb"
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {