The following commit has been merged in the master branch:
commit 7e1295d9380ce6a3a500e4e209fa1055fa6f6534
Author: Andrey Rahmatullin <[email protected]>
Date:   Sat Jun 16 15:53:18 2012 +0600

    Pass CPPFLAGS, CFLAGS, CXXFLAGS and LDFLAGS to scons.

diff --git a/debian/rules b/debian/rules
index 5164ad6..5499375 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 %:
        dh $@
 
+override_dh_auto_build:
+       scons CPPFLAGS="$(CPPFLAGS)" CCFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" 
LINKFLAGS="$(LDFLAGS)"
+
 override_dh_auto_install:
        make install PREFIX="/usr" DESTDIR="$(CURDIR)/debian/xboxdrv"
        sed -i '1s,#!/usr/bin/env python,#!/usr/bin/python,' 
$(CURDIR)/debian/xboxdrv/usr/bin/xboxdrvctl

-- 
xboxdrv packaging

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

Reply via email to