* Fix "most". Not clear how passing "-ncurses" to the linker ever

worked.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31641
This commit is contained in:
Eelco Dolstra 2012-01-18 19:44:16 +00:00
parent 03fb0e59ef
commit 01f48c7fc1
1 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, slang}:
{ stdenv, fetchurl, slang, ncurses }:
stdenv.mkDerivation {
name = "most-5.0.0";
@ -9,14 +9,15 @@ stdenv.mkDerivation {
};
preConfigure = ''
sed -i -e "s|-ltermcap|-ncurses|" configure
sed -i -e "s|-ltermcap|-lncurses|" configure
sed -i autoconf/Makefile.in src/Makefile.in \
-e "s|/bin/cp|cp|" \
-e "s|/bin/rm|rm|"
'';
configureFlags = "--with-slang=${slang}";
buildInputs = [ slang ];
buildInputs = [ slang ncurses ];
meta = {
description = ''