Allow lsof to build on darwin (fixes #2219)
Closes #2219, closes #2223 Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
c3efd1a3f7
commit
b296895abe
@ -12,7 +12,9 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
preBuild = "sed -i Makefile -e 's/^CFGF=/& -DHASIPv6=1/;';";
|
preBuild = "sed -i Makefile -e 's/^CFGF=/& -DHASIPv6=1/;';";
|
||||||
|
|
||||||
configurePhase = "./Configure -n linux;";
|
configurePhase = if stdenv.isDarwin
|
||||||
|
then "./Configure -n darwin;"
|
||||||
|
else "./Configure -n linux;";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin $out/man/man8
|
mkdir -p $out/bin $out/man/man8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user