Search
j0ke.net Open Build Service
>
Projects
>
server:dns
>
pdns32
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
pdns.spec
@@ -37,7 +37,8 @@ %endif # %if 0%{?centos_version} == 5 || 0%{?rhel_version} >= 500 && 0%{?rhel_version} < 600 || 0%{?sles_version} == 10 -%define use_bundled_boost 1 +%define use_bundled_boost 0 +BuildRequires: boost-devel >= 1.34 %else %define use_bundled_boost 0 BuildRequires: boost-devel >= 1.34 @@ -293,6 +294,7 @@ touch NEWS AUTHORS COPYING ##autoreconf -fiv export CFLAGS="%{optflags} -DLDAP_DEPRECATED -g " +%if %use_bundled_boost == 1 %if 0%{?centos_version} == 5 || 0%{?rhel_version} >= 500 && 0%{?rhel_version} < 600 || 0%{?sles_version} == 10 cd boost_1_39_0 ./bootstrap.sh @@ -303,6 +305,7 @@ %else export CXXFLAGS="$CFLAGS" %endif +%endif # "mysql" backend is legacy crap. dont build it! %configure \ --disable-static \