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