fortune: fix Darwin build
This commit is contained in:
parent
45c52b7312
commit
bc6a35c92d
@ -13,6 +13,10 @@ stdenv.mkDerivation {
|
||||
preConfigure = ''
|
||||
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