Package: liblunar
Version: 1.0.0-1
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu jaunty ubuntu-patch

Hi,

Newer libtools don't put the libtool script in tree on libtoolize, so
when your package runs libtoolize during the build it is removed. This
then causes the configure check for python to fail as it can't use
../libtool. This means that the python parts aren't built, and so the
package fails to build when can't be installed.

Attached is a patch to use the system libtool instead. Please consider
applying it.

Thanks,

James
diff -u liblunar-1.0.0/debian/changelog liblunar-1.0.0/debian/changelog
diff -u liblunar-1.0.0/debian/patches/00list 
liblunar-1.0.0/debian/patches/00list
--- liblunar-1.0.0/debian/patches/00list
+++ liblunar-1.0.0/debian/patches/00list
@@ -1,0 +2 @@
+02_libtool_path
only in patch2:
unchanged:
--- liblunar-1.0.0.orig/debian/patches/02_libtool_path.dpatch
+++ liblunar-1.0.0/debian/patches/02_libtool_path.dpatch
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_libtool_path.dpatch by  <[EMAIL PROTECTED]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Correct the paths to the libtool script in configure.ac
+
[EMAIL PROTECTED]@
+diff -urNad liblunar~/configure.ac liblunar/configure.ac
+--- liblunar~/configure.ac     2008-11-28 23:38:12.000000000 +0000
++++ liblunar/configure.ac      2008-11-28 23:38:40.000000000 +0000
+@@ -112,8 +112,8 @@
+ }
+ EOF
+ 
+-      if /bin/sh ../libtool --mode=compile ${CC} $PYTHON_CFLAGS -c 
testpython.c >/dev/null 2>&1 && \
+-              /bin/sh ../libtool --mode=link ${CC} -o testpython.la -rpath 
`pwd` -module -avoid-version -no-undefined $PYTHON_LIB_LOC testpython.lo 
$PYTHON_LIBS $PYTHON_EXTRA_LIBS >/dev/null 2>&1 && \
++      if libtool --mode=compile ${CC} $PYTHON_CFLAGS -c testpython.c 
>/dev/null 2>&1 && \
++              libtool --mode=link ${CC} -o testpython.la -rpath `pwd` -module 
-avoid-version -no-undefined $PYTHON_LIB_LOC testpython.lo $PYTHON_LIBS 
$PYTHON_EXTRA_LIBS >/dev/null 2>&1 && \
+               grep 'dlname.*testpython' testpython.la >/dev/null 2>&1; then
+               result=yes
+       else

Reply via email to