avahi: use libiconv if needed
svn path=/nixpkgs/trunk/; revision=33624
This commit is contained in:
parent
7aeb6ef2bb
commit
b4e5ce8de5
@ -1,5 +1,5 @@
|
||||
{ fetchurl, stdenv, pkgconfig, libdaemon, dbus, perl, perlXMLParser
|
||||
, expat, gettext, intltool, glib, qt4 ? null, lib
|
||||
, expat, gettext, intltool, glib, qt4 ? null, libiconvOrEmpty
|
||||
, qt4Support ? false
|
||||
, withLibdnssdCompat ? false }:
|
||||
|
||||
@ -16,7 +16,8 @@ stdenv.mkDerivation rec {
|
||||
patches = [ ./no-mkdir-localstatedir.patch ];
|
||||
|
||||
buildInputs = [ libdaemon dbus perl perlXMLParser glib expat ]
|
||||
++ (lib.optional qt4Support qt4);
|
||||
++ (stdenv.lib.optional qt4Support qt4)
|
||||
++ libiconvOrEmpty;
|
||||
|
||||
buildNativeInputs = [ pkgconfig gettext intltool ];
|
||||
|
||||
|
@ -4084,9 +4084,11 @@ let
|
||||
|
||||
libiconv = callPackage ../development/libraries/libiconv { };
|
||||
|
||||
libiconvOrEmpty = if (libiconvOrNull == null) then [] else libiconv;
|
||||
|
||||
libiconvOrNull = if gcc ? libc then null else libiconv;
|
||||
|
||||
libiconvOrLibc = if gcc ? libc then gcc.libc else libiconv;
|
||||
libiconvOrLibc = if (libiconvOrNull == null) then gcc.libc else libiconv;
|
||||
|
||||
libid3tag = callPackage ../development/libraries/libid3tag { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user