On Wed, May 25, 2011 at 10:40:02PM +0900, Hideki Yamane wrote:
>  Just specify CONFIG_SHELL=/bin/bash solves this FTBFS. bash is
>  "Priority: required" package, so it doesn't introduce any dependency
>  issue.

Here is a better solution: it fits more neatly with how libtool is
supposed to work, and it's suitable for being forwarded upstream.

  * Set SHELL in Makefile.in so that the expansion of @LIBTOOL@ works
    (LP: #829445).

diff -Nru libuninameslist-0.0.20091231/debian/patches/libtool-shell.patch 
libuninameslist-0.0.20091231/debian/patches/libtool-shell.patch
--- libuninameslist-0.0.20091231/debian/patches/libtool-shell.patch     
1970-01-01 01:00:00.000000000 +0100
+++ libuninameslist-0.0.20091231/debian/patches/libtool-shell.patch     
2011-08-22 20:41:54.000000000 +0100
@@ -0,0 +1,19 @@
+Description: Set SHELL so that the expansion of @LIBTOOL@ works
+Author: Colin Watson <cjwat...@ubuntu.com>
+Bug-Debian: http://bugs.debian.org/621933
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/829445
+Forwarded: no
+Last-Update: 2011-08-22
+
+Index: b/Makefile.in
+===================================================================
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -12,6 +12,7 @@
+ UN_REVISION=2
+ UN_AGE=0
+ 
++SHELL = @SHELL@
+ LIBTOOL = @LIBTOOL@
+ CC = @CC@
+ INSTALL = @INSTALL@
diff -Nru libuninameslist-0.0.20091231/debian/patches/series 
libuninameslist-0.0.20091231/debian/patches/series
--- libuninameslist-0.0.20091231/debian/patches/series  1970-01-01 
01:00:00.000000000 +0100
+++ libuninameslist-0.0.20091231/debian/patches/series  2011-08-22 
20:39:26.000000000 +0100
@@ -0,0 +1 @@
+libtool-shell.patch

Cheers,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to