GNU Emacs 22: Use Apple-GCC.
svn path=/nixpkgs/trunk/; revision=33901
This commit is contained in:
parent
86232ad5f7
commit
daaa950c31
@ -6543,15 +6543,23 @@ let
|
|||||||
emacs = emacs23;
|
emacs = emacs23;
|
||||||
|
|
||||||
emacs22 = callPackage ../applications/editors/emacs-22 {
|
emacs22 = callPackage ../applications/editors/emacs-22 {
|
||||||
/* Using cpp 4.5, we get:
|
stdenv =
|
||||||
|
if stdenv.isDarwin
|
||||||
|
|
||||||
make[1]: Entering directory `/tmp/nix-build-dhbj8qqmqxwp3iw6sjcgafsrwlwrix1f-emacs-22.3.drv-0/emacs-22.3/lib-src'
|
/* On Darwin, use Apple-GCC, otherwise:
|
||||||
Makefile:148: *** recipe commences before first target. Stop.
|
configure: error: C preprocessor "cc -E -no-cpp-precomp" fails sanity check */
|
||||||
|
then overrideGCC stdenv gccApple
|
||||||
|
|
||||||
|
/* 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. */
|
||||||
|
else overrideGCC stdenv gcc44;
|
||||||
|
|
||||||
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 = getConfig [ "emacs" "xaw3dSupport" ] false;
|
xaw3dSupport = getConfig [ "emacs" "xaw3dSupport" ] false;
|
||||||
gtkGUI = getConfig [ "emacs" "gtkSupport" ] true;
|
gtkGUI = getConfig [ "emacs" "gtkSupport" ] true;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user