lsof: fix darwin (#350651)
This commit is contained in:
@@ -21,8 +21,11 @@ stdenv.mkDerivation rec {
|
||||
# We remove phony 'FRC' target that forces rebuilds:
|
||||
# 'version.h: FRC ...' is translated to 'version.h: ...'.
|
||||
sed -i lib/dialects/*/Makefile -e 's/version.h:\s*FRC/version.h:/'
|
||||
'' + lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
sed -i 's|lcurses|lncurses|g' Configure
|
||||
''
|
||||
# help Configure find libproc.h in $SDKROOT
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
sed -i -e 's|lcurses|lncurses|g' \
|
||||
-e "s|/Library.*/MacOSX.sdk/|\"$SDKROOT\"/|" Configure
|
||||
'';
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
|
||||
Reference in New Issue
Block a user