Merge pull request #69936 from marsam/fix-lsof-manpage

lsof: fix man page
This commit is contained in:
Mario Rodas 2019-09-29 03:16:31 -05:00 committed by GitHub
commit 18d612c89b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
# Fix references from man page https://github.com/lsof-org/lsof/issues/66
substituteInPlace Lsof.8 \
--replace ".so ./00DIALECTS" "" \
--replace ".so ./version" ".ds VN ${version}"
mkdir -p $out/bin $out/man/man8
cp Lsof.8 $out/man/man8/lsof.8
cp lsof $out/bin