Fix GNU Emacs 22.

svn path=/nixpkgs/branches/stdenv-updates/; revision=24624
This commit is contained in:
Ludovic Courtès 2010-11-09 09:14:12 +00:00
parent 7ecc652da4
commit a09b3a9d0a

View file

@ -5487,6 +5487,15 @@ let
emacs = emacs23;
emacs22 = callPackage ../applications/editors/emacs-22 {
/* Using cpp 4.5, we get:
make[1]: Entering directory `/tmp/nix-build-dhbj8qqmqxwp3iw6sjcgafsrwlwrix1f-emacs-22.3.drv-0/emacs-22.3/lib-src'
Makefile:148: *** recipe commences before first target. Stop.
Apparently, this is because `lib-src/Makefile' is generated by
processing `lib-src/Makefile.in' with cpp, and the escaping rules for
literal backslashes have changed. */
stdenv = overrideGCC stdenv gcc44;
xaw3dSupport = getPkgConfig "emacs" "xaw3dSupport" false;
gtkGUI = getPkgConfig "emacs" "gtkSupport" true;
};