Search
j0ke.net Open Build Service
>
Projects
>
server:dns
>
pdns-recursor
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 31
[-]
[+]
Changed
pdns-recursor.spec
@@ -31,8 +31,10 @@ Requires: lua >= 5.1 %if 0%{?suse_version} %define lua_libs_config LUA_LIBS_CONFIG=-llua +%define cxx_boost CXXFLAGS=-I./boost_1_39_0/ %else %define lua_libs_config LUA_LIBS_CONFIG=-llua-5.1 +%define cxx_boost CXXFLAGS=-I./boost_1_39_0/ %endif %endif %if 0%{?suse_version} @@ -77,10 +79,10 @@ %patch2 %build export HARDENING=%{hardening} -CXXFLAGS=-I./boost_1_39_0/ %configure --sysconfdir=/etc/pdns --localstatedir=/var/run/pdns -CXXFLAGS=-I./boost_1_39_0/ %__make clean +%{cxx_boost} %configure --sysconfdir=/etc/pdns --localstatedir=/var/run/pdns +%{cxx_boost} %__make clean %if %{!?_without_lua:1}%{?_without_lua:0} -CXXFLAGS=-I./boost_1_39_0/ LUA=1 LUA_CPPFLAGS_CONFIG= %{lua_libs_config} OPTFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %__make SYSCONFDIR="%{_sysconfdir}/pdns" BINDIR="%{_sbindir}" STRIP_BINARIES=0 all +%{cxx_boost} LUA=1 LUA_CPPFLAGS_CONFIG= %{lua_libs_config} OPTFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %__make SYSCONFDIR="%{_sysconfdir}/pdns" BINDIR="%{_sbindir}" STRIP_BINARIES=0 all %else CXXFLAGS=-I./boost_1_39_0/ OPTFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %__make SYSCONFDIR="%{_sysconfdir}/pdns" BINDIR="%{_sbindir}" STRIP_BINARIES=0 all %endif