From 04bac13a820cc563c20acdd705c649c02e370a42 Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Wed, 7 Jun 2017 13:27:45 +0000
Subject: [PATCH] component/powerdns: Include gcc bin on path

  Follow up the change done on boost-lib: 'component/boost-lib: build with SlapOS gcc.'
  Include --with-boost on configure.
---
 component/powerdns/buildout.cfg | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/component/powerdns/buildout.cfg b/component/powerdns/buildout.cfg
index a5a98364f..1f883df3f 100644
--- a/component/powerdns/buildout.cfg
+++ b/component/powerdns/buildout.cfg
@@ -23,12 +23,13 @@ url = http://downloads.powerdns.com/releases/pdns-3.3.1.tar.gz
 md5sum = 074e2ff211fd12ecad25b5c1cc190dd4
 configure-options =
   --prefix=${buildout:parts-directory}/${:_buildout_section_name_}
+  --with-boost=${boost-lib:location}
   --with-modules="geo"
   --with-dynmodules=""
   --without-lua
 environment =
-  PATH=${make:location}/bin:${libtool:location}/bin:${pkgconfig:location}/bin:${bison:location}/bin:${flex:location}/bin:${git:location}/bin:${ragel:location}/bin:%(PATH)s
-  LDFLAGS = -L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -lz
+  PATH=${gcc:location}/bin:${make:location}/bin:${libtool:location}/bin:${pkgconfig:location}/bin:${bison:location}/bin:${flex:location}/bin:${git:location}/bin:${ragel:location}/bin:%(PATH)s
+  LDFLAGS=-L${boost-lib:location}/lib -Wl,-rpath=${boost-lib:location}/lib -L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib -lz
   CPPFLAGS=-I${boost-lib:location}/include
 make-target =
   install
-- 
2.30.9