Package: libmtp
Version: 0.2.4-2
Severity: serious
Tags: patch
Justification: no longer builds from source
With /bin/sh being dash this package fails to build due to a bashism in line
51 of debian/rules:
cp $${f/libmtp$(SOVERSION)/libmtp} $$f ; \
The attached patch fixes it.
diff -u libmtp-0.2.4/debian/rules\~ libmtp-0.2.4/debian/rules
--- libmtp-0.2.4/debian/rules~ 2007-12-28 15:52:37.000000000 +0100
+++ libmtp-0.2.4/debian/rules 2007-12-28 15:46:00.000000000 +0100
@@ -3,6 +3,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
+SHELL=/bin/bash
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
XP = xsltproc -''-nonet
Diff finished at Fri Dec 28 15:52:44