- Fixed slang so that it always finds the terminfo files

- Added GPM support to midnight commander


svn path=/nixpkgs/trunk/; revision=17209
This commit is contained in:
Sander van der Burg
2009-09-16 17:52:54 +00:00
parent 08b7947416
commit b25e2987a6
3 changed files with 12 additions and 3 deletions

View File

@@ -6,8 +6,10 @@ stdenv.mkDerivation {
url = ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/slang-2.2.1.tar.bz2;
sha256 = "1qgfg6i5lzmw8j9aqd8pgz3vnhn80giij9bpgm5r3gmna2h0rzfj";
};
# Fix some wrong hardcoded paths
preConfigure = ''
sed -i -e "s|/usr/lib/terminfo|${ncurses}/lib/terminfo|" configure
sed -i -e "s|/usr/lib/terminfo|${ncurses}/lib/terminfo|" src/sltermin.c
sed -i -e "s|/bin/ln|ln|" src/Makefile.in
'';
configureFlags = "--with-png=${libpng} --with-z=${zlib} --with-pcre=${pcre} --with-readline=${readline}";