Package: log4cxx
Version: 0.10.0-1.1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmpwu_IWk
In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules: clean out dependency_libs from .la files per policy 10.2

Thanks for considering the patch.


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

Kernel: Linux 2.6.38-7-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u log4cxx-0.10.0/debian/rules log4cxx-0.10.0/debian/rules
--- log4cxx-0.10.0/debian/rules
+++ log4cxx-0.10.0/debian/rules
@@ -75,6 +75,10 @@
 	# Add here commands to install the package into debian/tmp
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
 
+	# Empty out the dependency field in our .la files
+	for file in $(CURDIR)/debian/tmp/usr/lib/*.la; do \
+		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
+	done
 
 # Build architecture-independent files here.
 binary-indep: build install

Reply via email to