Package: line6-usb
Version: 0.8.0+svn547-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

Hi,

Here is the patch to fix this FTBFS.
  * debian/control: add build-dependency on module-assistant to fix a FTBFS
  * debian/rules: fix the cleaning target to call make only if file
    $(KSRC)/Mkaefile exists to be able to build the source package.

Cheers,
Fabrice

*** /tmp/tmp3FexI6



-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-14-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u line6-usb-0.8.0+svn547/debian/rules line6-usb-0.8.0+svn547/debian/rules
--- line6-usb-0.8.0+svn547/debian/rules
+++ line6-usb-0.8.0+svn547/debian/rules
@@ -88,7 +88,7 @@
 	#dh_testroot
 
 	# Cleaning package
-	$(MAKE) -f Makefile KSRC=$(KSRC) KVER=$(KVERS) -C $(KSRC) CONFIG_LINE6_USB=m SUBDIRS=$(CURDIR) clean
+	[ ! -f $(KSRC)/Makefile ] || $(MAKE) -f Makefile KSRC=$(KSRC) KVER=$(KVERS) -C $(KSRC) CONFIG_LINE6_USB=m SUBDIRS=$(CURDIR) clean
 
 	dh_clean
 
diff -u line6-usb-0.8.0+svn547/debian/control line6-usb-0.8.0+svn547/debian/control
--- line6-usb-0.8.0+svn547/debian/control
+++ line6-usb-0.8.0+svn547/debian/control
@@ -1,8 +1,8 @@
 Source: line6-usb
 Section: sound
 Priority: optional
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 5), module-assistant
 Homepage: http://www.tanzband-scream.at/line6/
 Standards-Version: 3.8.1
 Vcs-Bzr: http://people.samba.org/bzr/jelmer/line6-usb/debian

Reply via email to