From 70f1e9dcacecc7a8556c076b79ff04371881246c Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 6 Jun 2009 20:20:31 +0200 Subject: [PATCH] rules: Pass CFLAGS as arguments to configure. ... instead of setting them in the environment - this is the recommended way. --- debian/changelog | 4 +++- debian/rules | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 3bf7132..e59259f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,8 +8,10 @@ ncmpc (0.14-1) unstable; urgency=low - Updated from deprecated version 4 to the now recommended version 7. * debian/rules: - Use dh_prep instead of the deprecated dh_clean -k. + - Pass CFLAGS as arguments to configure instead of setting them in the + environment - this is the recommended way. - -- Sebastian Harl Sat, 06 Jun 2009 20:06:42 +0200 + -- Sebastian Harl Sat, 06 Jun 2009 20:19:58 +0200 ncmpc (0.13-1) experimental; urgency=low diff --git a/debian/rules b/debian/rules index 7399bd5..36f2d5b 100755 --- a/debian/rules +++ b/debian/rules @@ -21,7 +21,7 @@ endif config.status: configure dh_testdir - CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) \ + ./configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \ --mandir=\$${prefix}/share/man \ --disable-mini \ @@ -39,7 +39,8 @@ config.status: configure --enable-key-screen \ --enable-lyrics-screen \ --enable-outputs-screen \ - --with-ncursesw + --with-ncursesw \ + CFLAGS="$(CFLAGS)" build: build-stamp -- 2.30.2