1.1 --- a/haxe/haxe.spec Wed Feb 25 13:55:52 2009 +0100 1.2 +++ b/haxe/haxe.spec Wed Feb 25 13:58:24 2009 +0100 1.3 @@ -23,7 +23,7 @@ 1.4 1.5 # package version 1.6 %define V_release 2.02 1.7 -%define V_snapshot 20081125 1.8 +%define V_snapshot 20090130 1.9 1.10 # package information 1.11 Name: haxe 1.12 @@ -36,7 +36,7 @@ 1.13 Group: Language 1.14 License: GPL/BSD 1.15 Version: %{V_release}.%{V_snapshot} 1.16 -Release: 20081125 1.17 +Release: 20090106 1.18 1.19 # list of sources 1.20 Source0: ftp://ftp.openpkg.org/sources/CPY/haxe/haxe-%{V_snapshot}.tar.bz2 1.21 @@ -71,6 +71,10 @@ 1.22 %{l_shtool} subst \ 1.23 -e 's%"/usr/lib/libz.dylib".*"/lib/libz.so.1"%"%{l_prefix}/lib/libz.a"%' \ 1.24 haxe/doc/install.ml 1.25 + %{l_shtool} subst \ 1.26 + -e "s;\(let c_opts = .*-ccopt\);\1 -I %{l_prefix}/include;" \ 1.27 + -e "s;\(let c_opts = .* else \"\);\1 -I %{l_prefix}/include;" \ 1.28 + haxe/doc/install.ml 1.29 %{l_prefix}/bin/ocaml haxe/doc/install.ml 1.30 1.31 %install