GDB: Reinstate removal of duplicate Info files.

svn path=/nixpkgs/trunk/; revision=17750
This commit is contained in:
Ludovic Courtès 2009-10-12 10:06:41 +00:00
parent 53627c9599
commit 666754f7aa

View File

@ -8,10 +8,16 @@ stdenv.mkDerivation rec {
sha256 = "1k9y271gnnvi0fny8ycydcd79snigwh88rgwi03ad782r2awcl67"; sha256 = "1k9y271gnnvi0fny8ycydcd79snigwh88rgwi03ad782r2awcl67";
}; };
# TODO: Add optional support for Python scripting.
buildInputs = [ ncurses readline gmp mpfr texinfo ]; buildInputs = [ ncurses readline gmp mpfr texinfo ];
configureFlags = "--with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline"; configureFlags = "--with-gmp=${gmp} --with-mpfr=${mpfr} --with-system-readline";
postInstall = ''
# Remove Info files already provided by Binutils and other packages.
rm -v $out/share/info/{standards,configure,bfd}.info
'';
meta = { meta = {
description = "GDB, the GNU Project debugger"; description = "GDB, the GNU Project debugger";
@ -26,5 +32,6 @@ stdenv.mkDerivation rec {
license = "GPLv3+"; license = "GPLv3+";
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.cygwin; platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.cygwin;
maintainers = stdenv.lib.maintainers.ludo;
}; };
} }