On Thu, Nov 25, 2010 at 09:21:49PM -0800, Andy Spencer wrote:
> Package: libhdf4-dev
> Version: 4.2r4-11
> Severity: normal
> Tags: patch
> 
> 
> The rules file in libhdf4 uses chrpath to strip the rpath from the
> executables and shared objects. It does not strip the rpath from the
> libtool archives. This causes programs built against libdf to include an
> invalid rpath.
> 
> diff --git a/debian/rules b/debian/rules
> index 5e1d965..d6e64e5 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -153,6 +153,9 @@ stamps/install-stamp: build-arch
>       for obj in $(DESTDIR)/usr/bin/* $(DESTDIR)/usr/lib/*.so.* 
> $(DESTDIR)/usr/lib-alt/*.so.*; do \
>               chrpath -d $${obj} || true; \
>       done
> +     for obj in $(DESTDIR)/usr/lib/*.la $(DESTDIR)/usr/lib-alt/*.la; do \
> +             sed -ie 's/-R *[^ ]\+ //g' $${obj} || true; \
> +     done
>       

This is pointless, libtool helpers are not more distributed at all.

-- 
Francesco P. Lovergine



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to