bitlbee-otr: Correctly link against libgcrypt.
svn path=/nixpkgs/trunk/; revision=12926
This commit is contained in:
parent
d495ee42d9
commit
fab4b2bca4
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchbzr, gnutls, glib, pkgconfig, libotr
|
{ stdenv, fetchbzr, gnutls, glib, pkgconfig, libotr, libgcrypt
|
||||||
, libxslt, xmlto, docbook_xsl, docbook_xml_dtd_42, perl }:
|
, libxslt, xmlto, docbook_xsl, docbook_xml_dtd_42, perl }:
|
||||||
|
|
||||||
let revision = "369"; in
|
let revision = "369"; in
|
||||||
@ -11,11 +11,14 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
# Both OTR and GnuTLS depend on libgcrypt, but for some reason, `bitlbee'
|
||||||
|
# must be explicitly linked against it.
|
||||||
sed -i "configure" -e "s|-f \$""{i}/lib/libotr.a|0 -eq 0|g ;
|
sed -i "configure" -e "s|-f \$""{i}/lib/libotr.a|0 -eq 0|g ;
|
||||||
s|otrprefix=\$""{i}|otrprefix=\"${libotr}\"|g";
|
s|otrprefix=\$""{i}|otrprefix=\"${libotr}\"|g ;
|
||||||
|
s|-lotr|-lotr -L${libgcrypt} -lgcrypt|g";
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ gnutls glib pkgconfig libotr
|
buildInputs = [ gnutls glib pkgconfig libotr libgcrypt
|
||||||
libxslt xmlto docbook_xsl docbook_xml_dtd_42 perl
|
libxslt xmlto docbook_xsl docbook_xml_dtd_42 perl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -5855,7 +5855,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
bitlbeeOtr = import ../applications/networking/instant-messengers/bitlbee-otr {
|
bitlbeeOtr = import ../applications/networking/instant-messengers/bitlbee-otr {
|
||||||
inherit fetchbzr stdenv gnutls pkgconfig libotr
|
inherit fetchbzr stdenv gnutls pkgconfig libotr libgcrypt
|
||||||
libxslt xmlto docbook_xsl docbook_xml_dtd_42 perl;
|
libxslt xmlto docbook_xsl docbook_xml_dtd_42 perl;
|
||||||
inherit (gtkLibs) glib;
|
inherit (gtkLibs) glib;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user