Fix includes for construo
svn path=/nixpkgs/trunk/; revision=15532
This commit is contained in:
parent
ab1d731733
commit
a14cede3c2
@ -13,10 +13,13 @@ args : with args;
|
|||||||
};
|
};
|
||||||
in with localDefs;
|
in with localDefs;
|
||||||
let
|
let
|
||||||
preConfigure = FullDepEntry ("
|
preConfigure = FullDepEntry (''
|
||||||
sed -e 's/math[.]h/cmath/' -i vector.cxx
|
sed -e 's/math[.]h/cmath/' -i vector.cxx
|
||||||
sed -e 's/games/bin/' -i Makefile.in
|
sed -e 's/games/bin/' -i Makefile.in
|
||||||
") [doUnpack minInit];
|
sed -e '1i\#include <stdlib.h>' -i construo_main.cxx -i command_line.cxx -i config.hxx
|
||||||
|
sed -e '1i\#include <string.h>' -i command_line.cxx -i lisp_reader.cxx -i unix_system.cxx \
|
||||||
|
-i world.cxx construo_main.cxx
|
||||||
|
'') [doUnpack minInit];
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "construo-"+version;
|
name = "construo-"+version;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user