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
|
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…
x
Reference in New Issue
Block a user