fix the Cabal %patch line

epel9
Jens Petersen 14 years ago
parent e20b1de044
commit 8c1f0be4de

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

Loading…
Cancel
Save