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 28
[-]
[+]
Changed
pdns-recursor.spec
@@ -29,6 +29,10 @@ %if %{!?_without_lua:1}%{?_without_lua:0} BuildRequires: lua-devel >= 5.1 Requires: lua >= 5.1 +%if 0%{?suse_version} +%define lua_libs_config LUA_LIBS_CONFIG= +%else +%define lua_libs_config LUA_LIBS_CONFIG=-llua-5.1 %endif %if 0%{?suse_version} BuildRequires: pwdutils @@ -75,7 +79,7 @@ CXXFLAGS=-I./boost_1_39_0/ %configure --sysconfdir=/etc/pdns --localstatedir=/var/run/pdns CXXFLAGS=-I./boost_1_39_0/ %__make clean %if %{!?_without_lua:1}%{?_without_lua:0} -CXXFLAGS=-I./boost_1_39_0/ LUA=1 LUA_CPPFLAGS_CONFIG= LUA_LIBS_CONFIG=-llua-5.1 OPTFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %__make SYSCONFDIR="%{_sysconfdir}/pdns" BINDIR="%{_sbindir}" STRIP_BINARIES=0 all +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 %else CXXFLAGS=-I./boost_1_39_0/ OPTFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" %__make SYSCONFDIR="%{_sysconfdir}/pdns" BINDIR="%{_sbindir}" STRIP_BINARIES=0 all %endif