diff -r 6052d0605a74 -r 29f149b6e2be haxe/haxe.spec --- a/haxe/haxe.spec Wed Feb 25 13:55:52 2009 +0100 +++ b/haxe/haxe.spec Wed Feb 25 13:58:24 2009 +0100 @@ -23,7 +23,7 @@ # package version %define V_release 2.02 -%define V_snapshot 20081125 +%define V_snapshot 20090130 # package information Name: haxe @@ -36,7 +36,7 @@ Group: Language License: GPL/BSD Version: %{V_release}.%{V_snapshot} -Release: 20081125 +Release: 20090106 # list of sources Source0: ftp://ftp.openpkg.org/sources/CPY/haxe/haxe-%{V_snapshot}.tar.bz2 @@ -71,6 +71,10 @@ %{l_shtool} subst \ -e 's%"/usr/lib/libz.dylib".*"/lib/libz.so.1"%"%{l_prefix}/lib/libz.a"%' \ haxe/doc/install.ml + %{l_shtool} subst \ + -e "s;\(let c_opts = .*-ccopt\);\1 -I %{l_prefix}/include;" \ + -e "s;\(let c_opts = .* else \"\);\1 -I %{l_prefix}/include;" \ + haxe/doc/install.ml %{l_prefix}/bin/ocaml haxe/doc/install.ml %install