Преглед на файлове

avoid relinking, because we use a fake root for install, disables annoying -rpath addition to the libtool script

Waldemar Brodkorb преди 10 години
родител
ревизия
7d25880a72

+ 1 - 1
package/libtool/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 PKG_NAME:=		libtool
 PKG_VERSION:=		2.4.2
-PKG_RELEASE:=		2
+PKG_RELEASE:=		3
 PKG_MD5SUM:=		d2f3b7d4627e69e13514a40e72a24d50
 PKG_DESCR:=		a generic dynamic object loading library
 PKG_SECTION:=		lang

+ 20 - 0
package/libtool/patches/patch-configure

@@ -0,0 +1,20 @@
+--- libtool-2.4.2.orig/configure	2011-10-17 12:18:58.000000000 +0200
++++ libtool-2.4.2/configure	2013-10-31 16:17:18.508406500 +0100
+@@ -9340,7 +9340,7 @@ $as_echo_n "checking whether the $compil
+   enable_shared_with_static_runtimes=no
+   export_dynamic_flag_spec=
+   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-  hardcode_automatic=no
++  hardcode_automatic=yes
+   hardcode_direct=no
+   hardcode_direct_absolute=no
+   hardcode_libdir_flag_spec=
+@@ -13694,7 +13694,7 @@ hardcode_libdir_flag_spec_CXX=
+ hardcode_libdir_separator_CXX=
+ hardcode_minus_L_CXX=no
+ hardcode_shlibpath_var_CXX=unsupported
+-hardcode_automatic_CXX=no
++hardcode_automatic_CXX=yes
+ inherit_rpath_CXX=no
+ module_cmds_CXX=
+ module_expsym_cmds_CXX=

+ 3 - 3
package/libtool/patches/patch-libltdl_config_ltmain_m4sh

@@ -1,6 +1,6 @@
---- libtool-2.4.orig/libltdl/config/ltmain.m4sh	2010-09-22 16:45:18.000000000 +0200
-+++ libtool-2.4/libltdl/config/ltmain.m4sh	2011-03-29 22:49:51.801818754 +0200
-@@ -5051,7 +5051,7 @@ func_mode_link ()
+--- libtool-2.4.2.orig/libltdl/config/ltmain.m4sh	2011-10-17 12:17:05.000000000 +0200
++++ libtool-2.4.2/libltdl/config/ltmain.m4sh	2013-10-30 18:43:07.053853500 +0100
+@@ -5066,7 +5066,7 @@ func_mode_link ()
        # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
        -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
        -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \

+ 11 - 0
package/libtool/patches/patch-libltdl_configure

@@ -0,0 +1,11 @@
+--- libtool-2.4.2.orig/libltdl/configure	2011-10-17 12:19:47.000000000 +0200
++++ libtool-2.4.2/libltdl/configure	2013-10-31 16:17:57.695906500 +0100
+@@ -8690,7 +8690,7 @@ $as_echo_n "checking whether the $compil
+   enable_shared_with_static_runtimes=no
+   export_dynamic_flag_spec=
+   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-  hardcode_automatic=no
++  hardcode_automatic=yes
+   hardcode_direct=no
+   hardcode_direct_absolute=no
+   hardcode_libdir_flag_spec=

+ 20 - 0
package/libtool/patches/patch-libltdl_m4_libtool_m4

@@ -0,0 +1,20 @@
+--- libtool-2.4.2.orig/libltdl/m4/libtool.m4	2011-10-17 12:17:05.000000000 +0200
++++ libtool-2.4.2/libltdl/m4/libtool.m4	2013-10-31 16:50:11.016431400 +0100
+@@ -4592,7 +4592,7 @@ m4_if([$1], [CXX], [
+   _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
+   _LT_TAGVAR(export_dynamic_flag_spec, $1)=
+   _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
+-  _LT_TAGVAR(hardcode_automatic, $1)=no
++  _LT_TAGVAR(hardcode_automatic, $1)=yes
+   _LT_TAGVAR(hardcode_direct, $1)=no
+   _LT_TAGVAR(hardcode_direct_absolute, $1)=no
+   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
+@@ -5840,7 +5840,7 @@ _LT_TAGVAR(hardcode_libdir_flag_spec, $1
+ _LT_TAGVAR(hardcode_libdir_separator, $1)=
+ _LT_TAGVAR(hardcode_minus_L, $1)=no
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
+-_LT_TAGVAR(hardcode_automatic, $1)=no
++_LT_TAGVAR(hardcode_automatic, $1)=yes
+ _LT_TAGVAR(inherit_rpath, $1)=no
+ _LT_TAGVAR(module_cmds, $1)=
+ _LT_TAGVAR(module_expsym_cmds, $1)=