From 6a63c5dfe052199f717d3d1fcccfc6b6e4b73f39 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 8 Oct 2018 16:17:33 +0200 Subject: [PATCH] make auth builder work on el6 --- builder-support/specs/pdns.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/builder-support/specs/pdns.spec b/builder-support/specs/pdns.spec index 2c9878746..93cd3fd3a 100644 --- a/builder-support/specs/pdns.spec +++ b/builder-support/specs/pdns.spec @@ -34,7 +34,8 @@ BuildRequires: libcurl-devel Requires(pre): shadow-utils BuildRequires: luajit-devel -BuildRequires: boost-devel +BuildRequires: boost148-devel +BuildRequires: boost148-program-options BuildRequires: libsodium-devel BuildRequires: bison BuildRequires: openssl-devel @@ -211,7 +212,9 @@ export CPPFLAGS="-DLDAP_DEPRECATED" --enable-ixfrdist %else --disable-lua-records \ - --without-protobuf + --without-protobuf \ + --with-boost=/usr/include/boost148/ LDFLAGS=-L/usr/lib64/boost148 \ + CXXFLAGS='-std=gnu++11 -std=gnu++0x' %endif make %{?_smp_mflags} -- 2.40.0