From: Sebastian Harl Date: Sun, 10 May 2009 18:07:39 +0000 (+0200) Subject: rules: Pass CPPFLAGS and CFLAGS as arguments to configure. X-Git-Tag: collectd-4.7.2-1~38^2^2^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=681a0bcffa90bcb76e2c2b4c22bd97640a9a12eb;p=pkg-collectd.git rules: Pass CPPFLAGS and CFLAGS as arguments to configure. ... instead of setting them in the environment - this is the recommended way. --- 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