Work around hard-coded /usr/bin/nroff' in configure'.
svn path=/nixpkgs/trunk/; revision=25533
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ncurses}:
|
||||
{ stdenv, fetchurl, ncurses, groff }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libedit-20100424-3.0";
|
||||
@@ -8,6 +8,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "11hxaq58gym7kqccjhxywjxdibffzg545z1aj997y1dn0rckhav0";
|
||||
};
|
||||
|
||||
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
||||
NROFF = "${groff}/bin/nroff";
|
||||
|
||||
postInstall = ''
|
||||
sed -i s/-lncurses/-lncursesw/g $out/lib/pkgconfig/libedit.pc
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user