]> granicus.if.org Git - pdns/commitdiff
make auth builder work on el6
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 8 Oct 2018 14:17:33 +0000 (16:17 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 8 Oct 2018 14:17:33 +0000 (16:17 +0200)
builder-support/specs/pdns.spec

index 2c98787467c7725fb16052fc61221ce6602c2fe4..93cd3fd3a7c4b23cf754babf64c0da50ee3f174c 100644 (file)
@@ -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}