]> git.pld-linux.org Git - packages/povray.git/blobdiff - povray.spec
- boost rebuild
[packages/povray.git] / povray.spec
index cb02582af1d9866f884cc7397ad2c305b2d6f8ff..a769d578d8245eccba2f682022ab856033bcd992 100644 (file)
@@ -6,12 +6,13 @@
 #
 %define                _rc             RC7
 %define                _src_pov_ver    3.7.0.%{_rc}
+%define                rel             9
 
 Summary:       Persistence of Vision Ray Tracer
 Summary(pl.UTF-8):     Persistence of Vision Ray Tracer
 Name:          povray
 Version:       3.7.0
-Release:       0.%{_rc}.1
+Release:       0.%{_rc}.%{rel}
 Epoch:         1
 License:       distributable
 Group:         Applications/Graphics
@@ -22,6 +23,7 @@ Source0:      http://www.povray.org/redirect/www.povray.org/beta/source/%{name}-%{_sr
 # Source0:     %{name}-%{version}-%{snap}.tar.gz
 Source1:       %{name}-ax_boost_base.m4
 Patch0:                %{name}-nouserfiles.patch
+Patch1:                boost-1.50.patch
 URL:           http://www.povray.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -103,6 +105,7 @@ PVM/xwin.
 %setup -q -n %{name}-%{_src_pov_ver}
 cp %{SOURCE1} unix/config/ax_boost_base.m4
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal}
@@ -112,7 +115,6 @@ COMPILED_BY="PLD/Linux Team";export COMPILED_BY;
 %if %{with x} && %{with pvm}
 %configure \
        --libdir=%{_datadir} \
-       --with-boost-thread=boost_thread-mt \
        --enable-pvm \
        --with-pvm-arch=%{_pvmarch} \
        --with-pvm-libs=%{_libdir}
@@ -125,7 +127,6 @@ install unix/povray x-pvmpov
 
 %configure \
        --libdir=%{_datadir} \
-       --with-boost-thread=boost_thread-mt \
        --enable-pvm \
        --with-pvm-arch=%{_pvmarch} \
        --with-pvm-libs=%{_libdir} \
@@ -136,8 +137,7 @@ install unix/povray pvmpov
 
 %if %{with x}
 %configure \
-       --libdir=%{_datadir} \
-       --with-boost-thread=boost_thread-mt
+       --libdir=%{_datadir}
 %{__make}
 install unix/povray x-povray
 %{__make} clean
@@ -145,7 +145,6 @@ install unix/povray x-povray
 
 %configure \
        --libdir=%{_datadir} \
-       --with-boost-thread=boost_thread-mt \
        --without-x
 %{__make}
 
This page took 0.031053 seconds and 4 git commands to generate.