Fix gosmore build - curl dropped curl/types.h

svn path=/nixpkgs/trunk/; revision=30317
This commit is contained in:
Michael Raskin 2011-11-08 10:19:50 +00:00
parent d5a21a68e5
commit 753ef6a635

View File

@ -17,7 +17,11 @@ rec {
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
phaseNames = ["fixCurlIncludes" "doConfigure" "doMakeInstall"];
fixCurlIncludes = a.fullDepEntry ''
sed -e '/curl.types.h/d' -i *.{c,h,hpp,cpp}
'' ["minInit" "doUnpack"];
name = "gosmore-r21657";
meta = {