From d8bd1d8d45f42b28bd4674a5e88d0aa349f887c3 Mon Sep 17 00:00:00 2001 From: "Eugene V. Lyubimkin" Date: Sat, 1 Sep 2012 14:29:59 +0300 Subject: Imported Debian patch 1.0.1-4 --- debian/changelog | 11 ++++++++++- debian/rules | 4 +++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7f71396..7ae3823 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,17 @@ +htop (1.0.1-4) unstable; urgency=low + + * debian/rules: + - Retrieve and pass also CPPFLAGS and LDFLAGS. Patch by Simon Ruderich. + (Closes: #685670) + + -- Eugene V. Lyubimkin Sat, 01 Sep 2012 14:29:59 +0300 + htop (1.0.1-3) unstable; urgency=low * debian/rules: - Retrieve CFLAGS from dpkg-buildflags as dpkg-buildpackage stopped to - export them. (Closes: #685670) + export them. Thanks to Felix Geyer and Cyril Brulebois. + (Closes: #685670) * debian/control: - Build-depend on dpkg (>= 1.16.1) for using dpkg-buildflags. diff --git a/debian/rules b/debian/rules index 3cc13f0..cb65c8a 100755 --- a/debian/rules +++ b/debian/rules @@ -17,6 +17,8 @@ else endif CFLAGS = $(shell dpkg-buildflags --get CFLAGS) +CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS) +LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) config.status: configure $(QUILT_STAMPFN) dh_testdir @@ -31,7 +33,7 @@ config.status: configure $(QUILT_STAMPFN) [ ! -r /usr/share/misc/config.guess ] || \ cp -f /usr/share/misc/config.guess config.guess - CFLAGS="$(CFLAGS)" LDFLAGS="$(INSTALL_PROGRAM)" ./configure \ + CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS) $(INSTALL_PROGRAM)" ./configure \ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info \ -- cgit v1.2.3