Hi Jaromír,

On Thu, Aug 8, 2013 at 7:00 PM, Jaromír Mikeš <[email protected]> wrote:
> Hi,
>
> I am trying fix hardening in klick package builded by scons.
> Patching SConstruct file.
>
> I don't have too much experience with scons.
>
> Can somebody help?

As far as I can tell, the SConstruct file imports the external
environment wholesale into the scons environment (line 11). Therefore
all that is needed is to set the required environment variables and
scons should automatically pick them up. Unfortunately, I think scons
decided that LDFLAGS was not a good name so it changed it to
LINKFLAGS, so you have to do that as well.

I think it should be sufficient to add the following to debian/rules:

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
export LINKFLAGS = $(LDFLAGS)

I can't try it, though (not on my packaging pc). Please try it and
lets see if it works.


-- 

Saludos,
Felipe Sateler

_______________________________________________
pkg-multimedia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to