From deb63071d782351ffa3030e18dce67687e9f9988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 17 Jul 2009 16:14:28 +0000 Subject: [PATCH] GCC 4.4: Don't use the included Gettext. svn path=/nixpkgs/trunk/; revision=16415 --- pkgs/development/compilers/gcc-4.4/default.nix | 17 +++++++++++------ pkgs/top-level/all-packages.nix | 4 ++-- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/development/compilers/gcc-4.4/default.nix b/pkgs/development/compilers/gcc-4.4/default.nix index d009acb6879a..57571b97c166 100644 --- a/pkgs/development/compilers/gcc-4.4/default.nix +++ b/pkgs/development/compilers/gcc-4.4/default.nix @@ -4,7 +4,7 @@ , profiledCompiler ? false , staticCompiler ? false , texinfo ? null -, gmp, mpfr +, gmp, mpfr, gettext , bison ? null, flex ? null , zlib ? null, boehmgc ? null , enableMultilib ? false @@ -50,12 +50,11 @@ stdenv.mkDerivation ({ patches = [./pass-cxxcpp.patch] ++ optional noSysDirs ./no-sys-dirs.patch - ++ optional (noSysDirs && langFortran) ./no-sys-dirs-fortran.patch - ++ optional langJava ./java-jvgenmain-link.patch; - + ++ optional (noSysDirs && langFortran) ./no-sys-dirs-fortran.patch; + inherit noSysDirs profiledCompiler staticCompiler; - buildInputs = [texinfo gmp mpfr] + buildInputs = [ texinfo gmp mpfr gettext ] ++ (optionals langTreelang [bison flex]) ++ (optional (zlib != null) zlib) ++ (optional (boehmgc != null) boehmgc) @@ -64,6 +63,7 @@ stdenv.mkDerivation ({ configureFlags = " ${if enableMultilib then "" else "--disable-multilib"} --disable-libstdcxx-pch + --without-included-gettext --with-system-zlib --enable-languages=${ concatStrings (intersperse "," @@ -87,7 +87,12 @@ stdenv.mkDerivation ({ meta = { homepage = "http://gcc.gnu.org/"; license = "GPL/LGPL"; - description = "GNU Compiler Collection, 4.3.x"; + description = "GNU Compiler Collection, version ${version}"; + + maintainers = [ + # Add your name here! + stdenv.lib.maintainers.ludo + ]; }; } // (if langJava then { postConfigure = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8513d50d3262..15953cb5bfd8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1661,7 +1661,7 @@ let })); gcc44 = wrapGCC (makeOverridable (import ../development/compilers/gcc-4.4) { - inherit fetchurl stdenv texinfo gmp mpfr noSysDirs; + inherit fetchurl stdenv texinfo gmp mpfr gettext noSysDirs; profiledCompiler = true; }); @@ -1727,7 +1727,7 @@ let langCC = true; langC = false; profiledCompiler = false; - inherit zlib boehmgc; + inherit zlib boehmgc gettext; }); #ghc = haskellPackages.ghc;