Force Pidgin to use GnuTLS when it is offered.

svn path=/nixpkgs/trunk/; revision=12816
This commit is contained in:
Michael Raskin 2008-09-06 18:23:55 +00:00
parent 0f48d38859
commit 317d89066b

View file

@ -44,7 +44,9 @@ stdenv.mkDerivation {
pkgconfig gtk perl perlXMLParser gettext
];
configureFlags="--with-nspr-includes=${nss}/include/nspr --with-nspr-libs=${nss}/lib --with-nss-includes=${nss}/include/nss --with-nss-libs=${nss}/lib --with-ncurses-headers=${ncurses}/include --disable-meanwhile --disable-nm --disable-tcl";
configureFlags="--with-nspr-includes=${nss}/include/nspr --with-nspr-libs=${nss}/lib --with-nss-includes=${nss}/include/nss --with-nss-libs=${nss}/lib --with-ncurses-headers=${ncurses}/include --disable-meanwhile --disable-nm --disable-tcl"
+ (lib.optionalString (gnutls != null) " --enable-gnutls=yes --enable-nss=no")
;
meta = {
description = "Pidgin IM - XMPP(Jabber), AIM/ICQ, IRC, SIP etc client.";
homepage = http://pidgin.im;