some libintl and libiconv cleanups + non-linux fixes

This commit is contained in:
Vladimír Čunát
2013-04-14 13:27:58 +02:00
parent 56afb97e87
commit d8a2ae8d01
5 changed files with 15 additions and 23 deletions

View File

@@ -1,6 +1,6 @@
{ fetchurl, stdenv, texinfo, perl
, XMLSAX, XMLParser, XMLNamespaceSupport
, groff, libxml2, libxslt, gnused, libiconv, opensp
, groff, libxml2, libxslt, gnused, libiconvOrEmpty, opensp
, docbook_xml_dtd_43
, makeWrapper }:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
buildInputs = [ perl texinfo groff libxml2 libxslt makeWrapper
XMLSAX XMLParser XMLNamespaceSupport opensp
] ++ (if libiconv != null then [libiconv] else []);
] ++ libiconvOrEmpty;
postConfigure = ''
# Broken substitution is used for `perl/config.pl', which leaves literal