fix the Cabal %patch line

This commit is contained in:
Jens Petersen 2011-01-22 15:30:08 +10:00
parent f688990ca4
commit c08038f454

View File

@ -138,17 +138,17 @@ They should be installed when GHC's profiling subsystem is needed.
%patch2 -p1 %patch2 -p1
# disable gen_contents_index when not --batch for cron # disable gen_contents_index when not --batch for cron
%patch3 -p1 %patch3 -p1
# use system libraries
rm -r ghc-tarballs/{mingw,perl}
# use system libffi # use system libffi
%if %{with libffi} %if %{with libffi}
%patch4 -p1 -b .libffi %patch4 -p1 -b .libffi
%endif
%patch5 -p1 .b .orig
# use system libraries
rm -r ghc-tarballs/{mingw,perl}
%if %{with libffi}
rm -r ghc-tarballs/libffi rm -r ghc-tarballs/libffi
%endif %endif
%patch5 -p1 -b .orig
%build %build
cat > mk/build.mk << EOF cat > mk/build.mk << EOF
GhcLibWays = v %{?with_prof:p} %{?with_shared:dyn} GhcLibWays = v %{?with_prof:p} %{?with_shared:dyn}