Bug#619536: sdl-image1.2: Clear out dependency_libs in .la files

Benjamin Drung bdrung at debian.org
Thu Mar 24 20:28:05 UTC 2011


Package: sdl-image1.2
Version: 1.2.10-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

  * Clear out dependency_libs in .la files during build; This prevents FTBFS
    errors in other packages due to the hard coded paths to other .la files.

Thanks for considering the patch.
-------------- next part --------------
=== modified file 'debian/rules'
--- debian/rules	2010-02-11 15:12:43 +0000
+++ debian/rules	2011-03-24 14:16:17 +0000
@@ -50,6 +50,9 @@
 	dh_installdirs
 
 	$(MAKE) install prefix=`pwd`/debian/tmp/usr
+	for file in debian/tmp/usr/lib/*.la; do \
+		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
+	done
 
 binary-indep: build install
 



More information about the Pkg-sdl-maintainers mailing list