Increase polygon vertex count for Box2D

svn path=/nixpkgs/trunk/; revision=25177
This commit is contained in:
Michael Raskin
2010-12-17 15:40:34 +00:00
parent 7b4b615a86
commit af589388b0
2 changed files with 10 additions and 2 deletions

View File

@@ -27,8 +27,12 @@ rec {
inherit (sourceInfo) name version;
inherit buildInputs;
phaseNames = ["doCmake" "doMakeInstall"];
phaseNames = ["changeSettings" "doCmake" "doMakeInstall"];
changeSettings = a.fullDepEntry ''
sed -i Box2D/Common/b2Settings.h -e 's@b2_maxPolygonVertices .*@b2_maxPolygonVertices 15@'
'' ["minInit" "addInputs" "doUnpack"];
goSrcDir = ''cd Box2D'';
doCmake = a.fullDepEntry ''