mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
fortune: fix Darwin build
This commit is contained in:
parent
45c52b7312
commit
bc6a35c92d
@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
||||
sed -i "s|/usr/|$out/|" Makefile
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=("CC=$CC" "REGEXDEFS=-DHAVE_REGEX_H -DPOSIX_REGEX" "LDFLAGS=")
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/games/fortune $out/bin/fortune
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user