mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
pkgs/desktops/gnome-2.28/platform/libIDL: fixed build failure on Darwin
The build needs gettext, or it will fail to link libintl. svn path=/nixpkgs/trunk/; revision=21860
This commit is contained in:
parent
0db2caa183
commit
af899f1956
|
@ -29,6 +29,7 @@ rec {
|
||||||
libIDL = import ./platform/libIDL {
|
libIDL = import ./platform/libIDL {
|
||||||
inherit (pkgs) stdenv fetchurl flex bison pkgconfig;
|
inherit (pkgs) stdenv fetchurl flex bison pkgconfig;
|
||||||
inherit (pkgs.gtkLibs) glib;
|
inherit (pkgs.gtkLibs) glib;
|
||||||
|
gettext = if pkgs.stdenv.isDarwin then pkgs.gettext else null;
|
||||||
};
|
};
|
||||||
|
|
||||||
ORBit2 = import ./platform/ORBit2 {
|
ORBit2 = import ./platform/ORBit2 {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl, flex, bison, pkgconfig, glib}:
|
{stdenv, fetchurl, flex, bison, pkgconfig, glib, gettext ? null}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "libIDL-0.8.13";
|
name = "libIDL-0.8.13";
|
||||||
|
@ -6,5 +6,5 @@ stdenv.mkDerivation {
|
||||||
url = mirror://gnome/sources/libIDL/0.8/libIDL-0.8.13.tar.bz2;
|
url = mirror://gnome/sources/libIDL/0.8/libIDL-0.8.13.tar.bz2;
|
||||||
sha256 = "0w9b4q5sllwncz498sj5lmc3ajzc8x74dy0jy27m2yg9v887xk5w";
|
sha256 = "0w9b4q5sllwncz498sj5lmc3ajzc8x74dy0jy27m2yg9v887xk5w";
|
||||||
};
|
};
|
||||||
buildInputs = [ flex bison pkgconfig glib ];
|
buildInputs = [ flex bison pkgconfig glib gettext ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue