On Tue, 27 Jan 2015 17:11:57 -0500, paulow...@safe-mail.net wrote:

> Package: ebview
> Version: 0.3.6.2-1.3
> Tags: patch
> 
> CPPFLAGS and LDFLAGS are currently not passed to the compiler when
> building ebview-client; I think this is the cause of the
> dpkg-buildflags-missing warning reported by the build log scanner
> <https://qa.debian.org/bls/packages/e/ebview.html> (cdbs handles the
> buildflags automatically for everything else).
> 
> The following patch fixes this:
> 
> --- a/debian/rules
> +++ b/debian/rules
> @@ -10,7 +10,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := --sysconfdir=/etc
>  DEB_MAKE_INSTALL_TARGET := install prefix=$(CURDIR)/debian/ebview/usr
>  
>  build/ebview::
> -     $(CC) $(CFLAGS) -o $(CURDIR)/src/ebview-client 
> $(CURDIR)/src/ebview-client.c
> +     $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(CURDIR)/src/ebview-client 
> $(CURDIR)/src/ebview-client.c
>  
>  install/ebview::
>       install -m 755 $(CURDIR)/src/ebview-client 
> $(CURDIR)/debian/ebview/usr/bin

I just tried and: with or without your patch
- the configure call is identical
- the blhc messages are the same


Cheers,
gregor


-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Dido: Best Day

Attachment: signature.asc
Description: Digital Signature

Reply via email to