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 3
[-]
[+]
Changed
pdns.spec
@@ -37,10 +37,8 @@ %endif # %if 0%{?centos_version} == 5 || 0%{?rhel_version} >= 500 && 0%{?rhel_version} < 600 || 0%{?sles_version} == 10 -%define use_bundled_boost 0 -BuildRequires: boost-devel >= 1.34 +BuildRequires: boost141-devel %else -%define use_bundled_boost 0 BuildRequires: boost-devel >= 1.34 %endif BuildRequires: docbook-toys docbook-utils docbook-xsl-stylesheets gcc-c++ gdbm-devel mysql-devel openldap2-devel postgresql-devel pkgconfig lua-devel >= 5.1 @@ -294,17 +292,9 @@ 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 -./bjam || : -cd .. -export CXXFLAGS="$CFLAGS -I`pwd`/boost_1_39_0/" -export BOOST_ROOT=`pwd`/boost_1_39_0/ -%else -export CXXFLAGS="$CFLAGS" -%endif +export LDFLAGS="-L%{_libdir}/boost141" +export CPPFLAGS="%{_includedir}/boost141" %endif # "mysql" backend is legacy crap. dont build it! %configure \