Work around hard-coded /usr/bin/nroff' in
configure'.
svn path=/nixpkgs/trunk/; revision=25533
This commit is contained in:
parent
2ae2385f26
commit
9b9b5e2f53
@ -21,6 +21,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "18a4w0n1n0sij7gkb3196dnqav5zr0c5p26f08k7cw6y0i9dz0sq";
|
||||
};
|
||||
|
||||
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
||||
NROFF = "${groff}/bin/nroff";
|
||||
|
||||
buildInputs = (ops cursesSupport [ ncurses readline ] )
|
||||
++ (op docSupport groff )
|
||||
++ (op zlibSupport zlib)
|
||||
|
@ -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
|
||||
'';
|
||||
|
@ -1,8 +1,11 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
{ stdenv, fetchurl, groff }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mktemp-1.6";
|
||||
|
||||
|
||||
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
||||
NROFF = "${groff}/bin/nroff";
|
||||
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.mktemp.org/pub/mktemp/mktemp-1.6.tar.gz;
|
||||
sha256 = "1nfj89b0dv1c2fyqi1pg54fyzs3462cbp7jv7lskqsxvqy4mh9x1";
|
||||
|
Loading…
Reference in New Issue
Block a user