Summary(pl): Kompilator Objektowego Caml oraz ¶rodowisko programistyczne
Name: ocaml
Version: 3.04
-Release: 4
+Release: 5
License: distributable
Vendor: Group of implementors <caml-light@inria.fr>
Group: Development/Languages
Patch1: %{name}-DESTDIR.patch
Patch2: %{name}-manlinks.patch
Patch3: %{name}-db3.patch
+Patch4: %{name}-powerpcfix.patch
URL: http://caml.inria.fr/
BuildRequires: db3-devel
%{!?_without_tk:BuildRequires: tk-devel}
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%ifarch ppc
+%patch4 -p1
+%endif
%build
./configure \
sed -e 's|-ldb1|-ldb|; s|-I%{_includedir}/db1||' < config/Makefile.tmp > config/Makefile
%{__make} world bootstrap opt ocamlc.opt ocamlopt.opt
-%ifnarch ppc
%{__make} -C camlp4 optp4
-%endif
# hack info pages to contain dir entry
cat <<EOF >infoman/ocaml.info