diff options
author | 2004-06-15 06:29:43 +0000 | |
---|---|---|
committer | 2004-06-15 06:29:43 +0000 | |
commit | 333d806b48263a1cda27e35876b730d160f31eb3 (patch) | |
tree | b7f65d66b4b8b9feb254a4bb036ed5a4c6493702 /dev-libs/expat/files | |
parent | USE= cleanups and added uclibc (Manifest recommit) (diff) | |
download | gentoo-2-333d806b48263a1cda27e35876b730d160f31eb3.tar.gz gentoo-2-333d806b48263a1cda27e35876b730d160f31eb3.tar.bz2 gentoo-2-333d806b48263a1cda27e35876b730d160f31eb3.zip |
added uclibc patch for configure target
Diffstat (limited to 'dev-libs/expat/files')
-rw-r--r-- | dev-libs/expat/files/expat-1.95.6-uclibc.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/expat/files/expat-1.95.6-uclibc.patch b/dev-libs/expat/files/expat-1.95.6-uclibc.patch new file mode 100644 index 000000000000..a43f18407cea --- /dev/null +++ b/dev-libs/expat/files/expat-1.95.6-uclibc.patch @@ -0,0 +1,48 @@ +--- expat-1.95.6.old/configure 2003-01-28 07:04:08.000000000 +0100 ++++ expat-1.95.6/configure 2004-06-14 19:57:50.000000000 +0200 +@@ -2741,6 +2741,11 @@ + esac + lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` + ;; ++ ++linux-uclibc*) ++ lt_cv_deplibs_check_method=pass_all ++ lt_cv_file_magic_test_file=`echo /lib/libuClibc*.so` ++ ;; + + netbsd*) + if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then +@@ -3993,7 +3998,7 @@ fi + + # Transform linux* to *-*-linux-gnu*, to support old configure scripts. + case $host_os in +-linux-gnu*) ;; ++linux-gnu*|linux-uclibc*) ;; + linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` + esac + +@@ -5582,6 +5587,24 @@ + dynamic_linker='GNU/Linux ld.so' + ;; + ++linux-uclibc*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' ++ soname_spec='${libname}${release}.so$major' ++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ # This implies no fast_install, which is unacceptable. ++ # Some rework will be needed to allow for fast_install ++ # before this can be enabled. ++ # Note: copied from linux-gnu, and may not be appropriate. ++ hardcode_into_libs=yes ++ # Assume using the uClibc dynamic linker. ++ dynamic_linker="uClibc ld.so" ++ ;; ++ + netbsd*) + version_type=sunos + need_lib_prefix=no |