diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-10 16:16:32 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-09-10 16:16:32 -0500 |
commit | 02dc85a95b228b7242b0d11ea35619faad96db03 (patch) | |
tree | e161ba877a0720bbdf7818bdec06eb239d8ad271 /ubuntu/precise/applications/kio-apt/debian/fixrpath | |
parent | 6f2c7dc70e77d2f768d687838b6cc9f7632f609e (diff) | |
download | tde-packaging-02dc85a95b228b7242b0d11ea35619faad96db03.tar.gz tde-packaging-02dc85a95b228b7242b0d11ea35619faad96db03.zip |
Split precise from maverick
Diffstat (limited to 'ubuntu/precise/applications/kio-apt/debian/fixrpath')
-rwxr-xr-x | ubuntu/precise/applications/kio-apt/debian/fixrpath | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ubuntu/precise/applications/kio-apt/debian/fixrpath b/ubuntu/precise/applications/kio-apt/debian/fixrpath new file mode 100755 index 000000000..0ca44359e --- /dev/null +++ b/ubuntu/precise/applications/kio-apt/debian/fixrpath @@ -0,0 +1,25 @@ +#!/bin/sh +# $Id: fixrpath,v 1.1 2006/11/19 12:01:24 lpnotfr Exp $ +# libtool -rpath workaround based on a suggestion by Yann Dirson +# <dirson@debian.org> +# +# It is supposed to be inserted in configure.in, but I didn't want +# to re-run autoconf (since that bloats the Debian diff unnecessarily), +# so I just patch libtool after running configure. -- Richard Braakman +# <dark@xs4all.nl> +# +# The version of libtool included with LessTif unfortunately insists on +# linking with -rpath, i.e. hardwiring locations. This is not desirable. +# +# The dummy define is improbable enough not to conflict with anything; it is +# just here to fool libtool by making it believe it gave some useful info to +# gcc. +# +# This will also patch the generated libtool to explicitly +# link libraries against the libraries they depend on. (particularly libc) + +sed < $1/libtool > $1/libtool-2 \ + -e 's/^hardcode_libdir_flag_spec.*$/hardcode_libdir_flag_spec=" -D__LIBTOOL_IS_A_FOOL__ "/' \ + -e '/^archive_cmds="/s/"$/ \$deplibs"/' +mv $1/libtool-2 $1/libtool +chmod 755 $1/libtool |