From: Sebastian Harl Date: Sat, 6 Jun 2009 18:20:31 +0000 (+0200) Subject: rules: Pass CFLAGS as arguments to configure. X-Git-Tag: ncmpc-0.14-1~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=70f1e9dcacecc7a8556c076b79ff04371881246c;p=pkg-ncmpc.git rules: Pass 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 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