mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
pkgs/tools/misc/screen: fixed various impurities
Removed lots of hard-coded /usr/something paths from the configure script. Moved $out/{info,man} to $out/share/{info,man}. svn path=/nixpkgs/trunk/; revision=24601
This commit is contained in:
parent
5b009db20e
commit
c13e0307b6
@ -8,7 +8,11 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0xvckv1ia5pjxk7fs4za6gz2njwmfd54sc464n8ab13096qxbw3q";
|
sha256 = "0xvckv1ia5pjxk7fs4za6gz2njwmfd54sc464n8ab13096qxbw3q";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "--enable-telnet" ];
|
preConfigure = ''
|
||||||
|
configureFlags="--enable-telnet --infodir=$out/share/info --mandir=$out/share/man"
|
||||||
|
sed -i -e "s|/usr/local|/non-existent|g" -e "s|/usr|/non-existent|g" configure Makefile.in */Makefile.in
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
@ -42,6 +46,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = stdenv.lib.licenses.gpl2Plus;
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.simons ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user