GCJ 4.4: Require libXtst.

svn path=/nixpkgs/trunk/; revision=16491
This commit is contained in:
Ludovic Courtès 2009-07-28 10:29:18 +00:00
parent a5a5cbe93d
commit 86ad964255
2 changed files with 5 additions and 2 deletions

View File

@ -9,13 +9,15 @@
, bison ? null, flex ? null
, zlib ? null, boehmgc ? null
, zip ? null, unzip ? null, pkgconfig ? null, gtk ? null, libart_lgpl ? null
, libXtst ? null
, enableMultilib ? false
, name ? "gcc"
}:
assert langTreelang -> bison != null && flex != null;
assert langJava -> zip != null && unzip != null;
assert gtk != null -> pkgconfig != null && libart_lgpl != null;
assert gtk != null -> pkgconfig != null && libart_lgpl != null
&& libXtst != null;
with stdenv.lib;
@ -71,7 +73,7 @@ stdenv.mkDerivation ({
++ (optional (zlib != null) zlib)
++ (optional (boehmgc != null) boehmgc)
++ (optionals langJava [zip unzip])
++ (optionals (gtk != null) [gtk pkgconfig libart_lgpl])
++ (optionals (gtk != null) [gtk pkgconfig libart_lgpl libXtst])
;
configureFlags = "

View File

@ -1736,6 +1736,7 @@ let
inherit zip unzip zlib boehmgc gettext pkgconfig;
inherit (gtkLibs) gtk;
inherit (gnome) libart_lgpl;
inherit (xlibs) libXtst;
});
#ghc = haskellPackages.ghc;