tree-wide: various cleanups

It's mainly refactoring and mass-rebuild simplifications without any
real impact (besides better readability).
This commit is contained in:
Vladimír Čunát
2016-01-02 11:29:45 +01:00
parent 072da541de
commit 1878ac9335
8 changed files with 26 additions and 26 deletions
@@ -11,23 +11,21 @@ stdenv.mkDerivation rec {
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
NROFF = "${groff}/bin/nroff";
patches = if stdenv.isCygwin then [
./01-cygwin.patch
] else [ ] ++ [ ./freebsd-wchar.patch ];
patches = [ ./01-cygwin.patch ./freebsd-wchar.patch ];
propagatedBuildInputs = [ ncurses ];
configureFlags = [ "--enable-widec" ];
postInstall = ''
find $out/lib -type f | grep '\.\(la\|pc\)''$' | xargs sed -i \
-e 's,-lncurses[a-z]*,-L${ncurses}/lib -lncursesw,g'
'';
configureFlags = [ "--enable-widec" ];
propagatedBuildInputs = [ ncurses ];
meta = with stdenv.lib; {
homepage = "http://www.thrysoee.dk/editline/";
description = "A port of the NetBSD Editline library (libedit)";
license = licenses.bsd3;
license = licenses.bsd3;
platforms = platforms.all;
};
}