From f5df7a6031729809a6d42aaef17d2ec52748425c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Disable GLUT since the library has been dropped from w32api. --- ocaml-lablgl/mingw32-ocaml-lablgl.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/ocaml-lablgl/mingw32-ocaml-lablgl.spec b/ocaml-lablgl/mingw32-ocaml-lablgl.spec index 1bf83eb..f82c2a9 100644 --- a/ocaml-lablgl/mingw32-ocaml-lablgl.spec +++ b/ocaml-lablgl/mingw32-ocaml-lablgl.spec @@ -6,7 +6,7 @@ Name: mingw32-ocaml-lablgl Version: 1.03 -Release: 3%{?dist} +Release: 4%{?dist} Summary: MinGW Windows port of LablGL is an OpenGL interface License: BSD @@ -84,7 +84,10 @@ __EOF__ %build -make LIBRARIAN=i686-pc-mingw32-ocamlmklib lib glut libopt glutopt +# XXX w32api-3.12 had libglut32.a, but 3.13 lacks this, so we have +# had to disable glut compilation. +#make LIBRARIAN=i686-pc-mingw32-ocamlmklib lib glut libopt glutopt +make LIBRARIAN=i686-pc-mingw32-ocamlmklib lib libopt %install @@ -124,12 +127,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%{_mingw32_bindir}/lablglut.bat +# XXX See above for reason why glut is missing. +#%{_mingw32_bindir}/lablglut.bat %{_libdir}/%{_mingw32_target}-ocaml/lablGL/ %{_libdir}/%{_mingw32_target}-ocaml/stublibs/dlllablgl.dll -%{_libdir}/%{_mingw32_target}-ocaml/stublibs/dlllablglut.dll +#%{_libdir}/%{_mingw32_target}-ocaml/stublibs/dlllablglut.dll %changelog +* Sat Jan 24 2009 Richard W.M. Jones - 1.03-4 +- Disable GLUT since the library has been dropped from w32api. + * Sun Nov 23 2008 Richard W.M. Jones - 1.03-3 - Initial RPM release. -- 1.8.3.1