Merge pull request #30233 from falsifian/libgnurl_configure
libgnurl: Use recommended configure flags.
This commit is contained in:
commit
d9a03761de
@ -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; {
|
||||||
|
Loading…
Reference in New Issue
Block a user