3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #146134 from sternenseemann/netbsd-man-fix

netbsd.man: fix build
This commit is contained in:
sterni 2021-11-22 12:14:49 +01:00 committed by GitHub
commit 108f913823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -966,7 +966,15 @@ in lib.makeScopeWithSplicing
noCC = true;
version = "9.2";
sha256 = "1l4lmj4kmg8dl86x94sr45w0xdnkz8dn4zjx0ipgr9bnq98663zl";
makeFlags = defaultMakeFlags ++ [ "FILESDIR=$(out)/share" ];
# man0 generates a man.pdf using ps2pdf, but doesn't install it later,
# so we can avoid the dependency on ghostscript
postPatch = ''
substituteInPlace man0/Makefile --replace "ps2pdf" "echo noop "
'';
makeFlags = defaultMakeFlags ++ [
"FILESDIR=$(out)/share"
"MKRUMP=no" # would require to have additional path sys/rump/share/man
];
};
#
# END MISCELLANEOUS