Search
j0ke.net Open Build Service
>
Projects
>
server:dns
>
pdns3
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
pdns.spec
@@ -36,7 +36,13 @@ %define with_pdns_sqlite3 1 %endif # -BuildRequires: boost-devel >= 1.34 docbook-toys docbook-utils docbook-xsl-stylesheets gcc-c++ gdbm-devel mysql-devel openldap2-devel postgresql-devel pkgconfig lua-devel >= 5.1 +%if 0%{?centos_version} == 5 || 0%{?rhel_version} >= 500 && 0%{?rhel_version} < 600 || 0%{?sles_version} == 10 +%define use_bundled_boost 1 +%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 %if 0%{?suse_version} BuildRequires: pwdutils %endif @@ -78,6 +84,7 @@ Source: %{name}-%{version}.tar.bz2 Source1: rcpdns Source2: README.opendbx +Source3: boost_1_39_0.tar.bz2 Patch0: %{name}-fixinit.patch # Summary: Modern, advanced and high performance authoritative-only nameserver @@ -286,7 +293,11 @@ touch NEWS AUTHORS COPYING ##autoreconf -fiv export CFLAGS="%{optflags} -DLDAP_DEPRECATED -g " +%if 0%{?centos_version} == 5 || 0%{?rhel_version} >= 500 && 0%{?rhel_version} < 600 || 0%{?sles_version} == 10 +export CXXFLAGS="$CFLAGS -I`pwd`/boost_1_39_0/" +%else export CXXFLAGS="$CFLAGS" +%endif # "mysql" backend is legacy crap. dont build it! %configure \ --disable-static \
Added
boost_1_39_0.tar.bz2
^