Package: sdl-image1.2
Version: 1.2.10-2
Severity: normal
Tags: patch
User: ubuntu-de...@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.
=== 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
 

Reply via email to