Fixing jfsrec

svn path=/nixpkgs/trunk/; revision=15483
This commit is contained in:
Michael Raskin 2009-05-07 07:00:31 +00:00
parent 13080750d4
commit d688b5f57e

View File

@ -12,8 +12,13 @@ rec {
sed -e 's/-lboost_[a-z_]*/&-mt/g' -i src/Makefile.in
'') ["minInit" "doUnpack"];
doFixInc = FullDepEntry (''
sed -e '/[#]include [<]config.h[>]/a\#include <string.h>' -i src/unicode_to_utf8.cpp
cat src/unicode_to_utf8.cpp
'') ["minInit" "doUnpack"];
/* doConfigure should be specified separately */
phaseNames = ["doFixBoost" "doConfigure" "doMakeInstall"];
phaseNames = ["doFixBoost" "doFixInc" "doConfigure" "doMakeInstall"];
name = "jfsrec-" + version;
meta = {