Package: pdns-recursor Version: 3.1.4-5 Severity: normal Tags: patch DEB_BUILD_OPTIONS=noopt make -f debian/rules build dpatch apply-all applying patch man_rec_control.1 to ./ ... ok. applying patch gcc-4.2-ftbfs-fix to ./ ... ok. applying patch l-root-server-changed to ./ ... ok. applying patch do-not-strip-binaries to ./ ... ok. touch patch-stamp # Add here commands to compile the arch part of the package. make make[1]: Entering directory `/home/master/src/tmp/pdns-recursor-3.1.4' g++ -Wall -O3 -D_GNU_SOURCE -MM -MG *.cc *.hh > dep make[1]: Leaving directory `/home/master/src/tmp/pdns-recursor-3.1.4' make[1]: Entering directory `/home/master/src/tmp/pdns-recursor-3.1.4'
PLEASE READ: If you get an error mentioning #include <boost/something.hpp>, please read README PLEASE READ: for an easy fix! mkdir optional g++ -Wall -O3 -D_GNU_SOURCE -c epollmplexer.cc -o optional/epollmplexer.o ; true etc... optimisations are not disabled. Here is a patch. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.23.12-self (SMP w/2 CPU cores) Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
--- debian/rules 2008-01-22 18:49:00.208937287 +0100 +++ debian/rules.new 2008-01-22 18:49:56.088954520 +0100 @@ -11,19 +11,20 @@ CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 - CXXFLAGS += -O0 + OPTFLAGS += -O0 else - CFLAGS += -O2 - CXXFLAGS += -O2 + OPTFLAGS += -O2 endif +export OPTFLAGS CFLAGS CXXFLAGS + # Targets +configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. - CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" ./configure + ./configure touch configure-stamp @@ -45,7 +46,6 @@ rm -rf dep *.o *~ pdns_recursor rec_control optional/*.o optional dh_clean -install: install: build dh_testdir dh_testroot @@ -86,4 +86,4 @@ rm -rf patch-stamp debian/patched binary: binary-arch binary-indep -.PHONY: build clean binary-indep binary-arch binary install +.PHONY: build clean binary-indep binary-arch binary install configure clean1 unpatch

