texinfo: Depend on gettext on Darwin
texinfo version 6.7 requires libintl.h which on Linux is provided by the libc. On Darwin, this lib is provided by gettext instead.
This commit is contained in:
parent
7902256cfd
commit
e389e24efc
@ -1,6 +1,6 @@
|
||||
{ version, sha256 }:
|
||||
|
||||
{ stdenv, buildPackages, fetchurl, perl, xz
|
||||
{ stdenv, buildPackages, fetchurl, perl, xz, gettext
|
||||
|
||||
# we are a dependency of gcc, this simplifies bootstraping
|
||||
, interactive ? false, ncurses, procps
|
||||
@ -39,6 +39,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ xz.bin ]
|
||||
++ optionals stdenv.isSunOS [ libiconv gawk ]
|
||||
++ optionals stdenv.isDarwin [ gettext ]
|
||||
++ optional interactive ncurses;
|
||||
|
||||
configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ]
|
||||
|
Loading…
Reference in New Issue
Block a user