From 0d5edad2f58a44de3f41a39fe7b0ab8b7bb74e77 Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Tue, 27 Oct 2015 01:23:42 -0700 Subject: [PATCH] emacs24Macport: fix build --- pkgs/applications/editors/emacs-24/macport-24.5.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/emacs-24/macport-24.5.nix b/pkgs/applications/editors/emacs-24/macport-24.5.nix index 13a888484e07..eaed603ffee2 100644 --- a/pkgs/applications/editors/emacs-24/macport-24.5.nix +++ b/pkgs/applications/editors/emacs-24/macport-24.5.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, ncurses, pkgconfig, texinfo, libxml2, gnutls, Carbon, Foundation, -libobjc, Cocoa, WebKit, Quartz, ImageCaptureCore, OSAKit +libobjc, Cocoa, WebKit, Quartz, ImageCaptureCore, OSAKit, cf-private }: stdenv.mkDerivation rec { @@ -19,14 +19,12 @@ stdenv.mkDerivation rec { }; NIX_CFLAGS_COMPILE = "-Wno-deprecated-declarations"; - NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin - "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation"; enableParallelBuilding = true; buildInputs = [ ncurses pkgconfig texinfo libxml2 gnutls Carbon Cocoa Foundation libobjc WebKit Quartz - ImageCaptureCore OSAKit + ImageCaptureCore OSAKit cf-private ]; postUnpack = '' @@ -36,6 +34,7 @@ stdenv.mkDerivation rec { ''; preConfigure = '' + substituteInPlace lisp/international/mule-cmds.el --replace /usr $TMPDIR substituteInPlace Makefile.in --replace "/bin/pwd" "pwd" substituteInPlace lib-src/Makefile.in --replace "/bin/pwd" "pwd"