Merge branch 'staging' into closure-size
This commit is contained in:
@@ -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 null;
|
||||
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}/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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user