Package: libsynce
Version: 0.15-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

Hi -

I've just applied the attached patch to libsynce in Ubuntu to empty
out the dependency_libs field in the libtool .la file being shipped in
the -dev package. This is generally a good idea because it avoids
causing consumers of your library to require the .la files listed to
be available when they're not actually needed (i.e., in the common
case of dynamic linking). It will also causing problems in the near
future because multiarch is landing soon, which will cause the .la
files referenced by libsynce to move, which would cause build failures
for anything linking against libsynce.

The changelog entry for this upload in Ubuntu is:

  * Rebuild to pick up multiarch changes.
  * Clean .la files.

Thanks for considering the patch.

- Evan

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

Kernel: Linux 2.6.35-24-generic (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru libsynce-0.15/debian/rules libsynce-0.15/debian/rules
--- libsynce-0.15/debian/rules	2010-05-12 02:54:46.000000000 -0700
+++ libsynce-0.15/debian/rules	2011-04-01 12:17:34.000000000 -0700
@@ -35,6 +35,9 @@
 	dh_clean -k 
 	dh_installdirs
 	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+	set -e; for file in `ls debian/tmp/usr/lib/*.la`; do \
+		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
+	done
 
 binary-indep: build install
 

Reply via email to