Package: lirc-modules-source
Version: 0.7.1pre2-9
Tags: patch
Followup-For: Bug #297170

Could you please consider the following patch (taken from package
nvidia-kernel-source) to `debian/rules' of lirc-modules-source?

It resolves the issue with building as a non-root user with
`make-kpkg --rootcmd=fakeroot'.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2-maia
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lirc-modules-source depends on:
ii  debconf [debconf-2.0]         1.4.58     Debian configuration management sy
ii  debhelper                     4.9.10     helper programs for debian/rules
ii  debianutils                   2.14.3     Miscellaneous utilities specific t

Versions of packages lirc-modules-source recommends:
ii  dpkg                          1.13.11    package maintenance system for Deb
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  gcc [c-compiler]              4:4.0.1-3  The GNU C compiler
ii  gcc-3.3 [c-compiler]          1:3.3.6-10 The GNU C compiler
ii  gcc-3.4 [c-compiler]          3.4.4-8    The GNU C compiler
ii  gcc-4.0 [c-compiler]          4.0.1-9    The GNU C compiler
ii  kernel-package                9.007      A utility for building Linux kerne
ii  make                          3.80-11    The GNU version of the "make" util

-- debconf information excluded
diff -urN lirc-0.7.1pre2_9/debian/modules-source/debian/rules 
lirc-0.7.1pre2/debian/modules-source/debian/rules
--- lirc-0.7.1pre2_9/debian/modules-source/debian/rules 2005-09-30 
09:24:39.000000000 +0200
+++ lirc-0.7.1pre2/debian/modules-source/debian/rules   2005-09-30 
09:22:15.000000000 +0200
@@ -122,8 +122,13 @@
 .PHONY: build clean binary-indep binary-arch binary install configure
 
 binary-modules: binary
-kdist_image: binary-modules debian/rules clean
-kdist_clean: debian/control clean
+kdist_image: debian/rules
+       $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules binary-modules
+       $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
+
+kdist_clean: debian/control
+        $(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
+
 kdist_configure:
 #      Nothing to do when configured.
 

Reply via email to