about summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs-24
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-05 20:32:54 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-10-13 20:18:44 +0200
commit91407a8bdfb2dbb95b6cc5c99a44b0925bd464f8 (patch)
tree87b9ff74fa87a13246ca7a22cdee97132d1cbea8 /pkgs/applications/editors/emacs-24
parent9a1aa51fed2b62edcce9f1722cfc822cf07f31a8 (diff)
downloadnixlib-91407a8bdfb2dbb95b6cc5c99a44b0925bd464f8.tar
nixlib-91407a8bdfb2dbb95b6cc5c99a44b0925bd464f8.tar.gz
nixlib-91407a8bdfb2dbb95b6cc5c99a44b0925bd464f8.tar.bz2
nixlib-91407a8bdfb2dbb95b6cc5c99a44b0925bd464f8.tar.lz
nixlib-91407a8bdfb2dbb95b6cc5c99a44b0925bd464f8.tar.xz
nixlib-91407a8bdfb2dbb95b6cc5c99a44b0925bd464f8.tar.zst
nixlib-91407a8bdfb2dbb95b6cc5c99a44b0925bd464f8.zip
ncurses: split into multiple outputs
Some programs (e.g. tput) might better be moved somewhere else than
$dev/bin, but that can be improved later if need be.
Diffstat (limited to 'pkgs/applications/editors/emacs-24')
-rw-r--r--pkgs/applications/editors/emacs-24/macport-24.3.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/editors/emacs-24/macport-24.3.nix b/pkgs/applications/editors/emacs-24/macport-24.3.nix
index 191969eef5b0..edf8a28d6ff4 100644
--- a/pkgs/applications/editors/emacs-24/macport-24.3.nix
+++ b/pkgs/applications/editors/emacs-24/macport-24.3.nix
@@ -33,12 +33,12 @@ stdenv.mkDerivation rec {
     # Further, we need to make sure that the -L option occurs before mention
     # of the library, so that it finds it within the Nix store.
     sed -i 's/tinfo ncurses/tinfo ncursesw/' configure
-    ncurseslib=$(echo ${ncurses}/lib | sed 's#/#\\/#g')
+    ncurseslib=$(echo ${ncurses.lib}/lib | sed 's#/#\\/#g')
     sed -i "s/OLIBS=\$LIBS/OLIBS=\"-L$ncurseslib \$LIBS\"/" configure
     sed -i 's/LIBS="\$LIBS_TERMCAP \$LIBS"/LIBS="\$LIBS \$LIBS_TERMCAP"/' configure
 
     configureFlagsArray=(
-      LDFLAGS=-L${ncurses}/lib
+      LDFLAGS=-L${ncurses.lib}/lib
       --with-xml2=yes
       --with-gnutls=yes
       --with-mac
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
     )
     makeFlagsArray=(
       CFLAGS=-O3
-      LDFLAGS="-O3 -L${ncurses}/lib"
+      LDFLAGS="-O3 -L${ncurses.lib}/lib"
     );
   '';