From 681a0bcffa90bcb76e2c2b4c22bd97640a9a12eb Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 10 May 2009 20:07:39 +0200 Subject: [PATCH] rules: Pass CPPFLAGS and CFLAGS as arguments to configure. ... instead of setting them in the environment - this is the recommended way. --- debian/changelog | 4 +++- debian/rules | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index bf87284..01a8ba8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,11 +16,13 @@ collectd (4.7.0-1) unstable; urgency=low * debian/rules: - Install collectd-{network,unixsock}.py to /usr/share/doc/collectd/ examples/. + - Pass CPPFLAGS and CFLAGS as arguments to configure instead of setting + them in the environment - this is the recommended way. * debian/patches: - Removed battery_acpi_complain.dpatch - included upstream. - Removed ntpd_type_pun_fix.dpatch - included upstream. - -- Sebastian Harl Sun, 10 May 2009 17:22:47 +0200 + -- Sebastian Harl Sun, 10 May 2009 19:57:25 +0200 collectd (4.6.2-2) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 9e171a6..d714cc7 100755 --- a/debian/rules +++ b/debian/rules @@ -75,7 +75,7 @@ endif config.status: configure $(DPATCH_STAMPFN) dh_testdir - CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" ./configure $(confflags) + ./configure $(confflags) CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" build: build-stamp -- 2.30.2