]> git.pld-linux.org Git - packages/ocaml-SDL.git/blobdiff - ocaml-SDL.spec
- rebuild with ocaml 4.04.1
[packages/ocaml-SDL.git] / ocaml-SDL.spec
index e5956211b1984629df53d9339cf43379ed0907a8..f59117db681471bb0a60085a8c718fe8aa88bfae 100644 (file)
@@ -11,7 +11,7 @@ Summary:      SDL binding for OCaml
 Summary(pl.UTF-8):     Wiązania SDL dla OCamla
 Name:          ocaml-SDL
 Version:       0.9.1
-Release:       1
+Release:       3
 License:       LGPL v2+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/ocamlsdl/ocamlsdl-%{version}.tar.gz
@@ -72,14 +72,16 @@ cp -f /usr/share/automake/config.* support
 %{__aclocal} -I support
 %{__autoconf}
 %configure
-%{__make}
+%{__make} \
+       %{!?with_ocaml_opt:OCAMLOPT=}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs
 
 %{__make} install \
-       OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml
+       OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT%{_libdir}/ocaml \
+       %{!?with_ocaml_opt:OCAMLOPT=}
 
 # ocamlfind-specific, useless in rpm
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/*.owner
This page took 0.043262 seconds and 4 git commands to generate.