diff options
author | Ned Ludd <solar@gentoo.org> | 2004-06-15 06:55:23 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-06-15 06:55:23 +0000 |
commit | 84367c0963e26056234a0090fd3cd86b51d8b42a (patch) | |
tree | fef83c0de62fca22944ab649383aee4ab99da168 /net-misc/wget | |
parent | Fixed permissions (Manifest recommit) (diff) | |
download | gentoo-2-84367c0963e26056234a0090fd3cd86b51d8b42a.tar.gz gentoo-2-84367c0963e26056234a0090fd3cd86b51d8b42a.tar.bz2 gentoo-2-84367c0963e26056234a0090fd3cd86b51d8b42a.zip |
basic uclibc support added
Diffstat (limited to 'net-misc/wget')
-rw-r--r-- | net-misc/wget/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/wget/files/wget-1.9-uclibc.patch | 96 | ||||
-rw-r--r-- | net-misc/wget/wget-1.9-r2.ebuild | 5 | ||||
-rw-r--r-- | net-misc/wget/wget-1.9.1-r2.ebuild | 3 |
4 files changed, 106 insertions, 4 deletions
diff --git a/net-misc/wget/ChangeLog b/net-misc/wget/ChangeLog index d4ae9d3b76fe..586ba5e56ff4 100644 --- a/net-misc/wget/ChangeLog +++ b/net-misc/wget/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/wget # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.40 2004/06/08 08:53:21 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.41 2004/06/15 06:55:23 solar Exp $ + + 15 Jun 2004; <solar@gentoo.org> wget-1.9-r2.ebuild, wget-1.9.1-r2.ebuild, + files/wget-1.9-uclibc.patch: + basic uclibc support added 08 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> wget-1.9.1-r2.ebuild: Stable on alpha. diff --git a/net-misc/wget/files/wget-1.9-uclibc.patch b/net-misc/wget/files/wget-1.9-uclibc.patch new file mode 100644 index 000000000000..e57f4f17b361 --- /dev/null +++ b/net-misc/wget/files/wget-1.9-uclibc.patch @@ -0,0 +1,96 @@ +--- wget-1.9/configure.uclibc~ Tue Oct 21 23:47:26 2003 ++++ wget-1.9/configure Mon Jun 14 17:42:54 2004 +@@ -3303,6 +3303,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 +@@ -4413,7 +4418,7 @@ + + # 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 + +@@ -6016,6 +6021,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 +--- wget-1.9/libtool.m4.uclibc~ Sat Oct 4 00:24:48 2003 ++++ wget-1.9/libtool.m4 Mon Jun 14 17:42:56 2004 +@@ -777,7 +777,7 @@ + + # 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 + +@@ -2192,6 +2192,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 +@@ -3414,6 +3432,11 @@ + 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 + lt_cv_deplibs_check_method='match_pattern /lib[[^/\.]]+\.so\.[[0-9]]+\.[[0-9]]+$' diff --git a/net-misc/wget/wget-1.9-r2.ebuild b/net-misc/wget/wget-1.9-r2.ebuild index f101e4bfee33..af94ac356f1b 100644 --- a/net-misc/wget/wget-1.9-r2.ebuild +++ b/net-misc/wget/wget-1.9-r2.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.9-r2.ebuild,v 1.7 2004/04/27 21:54:34 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.9-r2.ebuild,v 1.8 2004/06/15 06:55:23 solar Exp $ inherit gnuconfig eutils -IUSE="ssl nls static ipv6 debug socks5" +IUSE="ssl nls static ipv6 debug socks5 uclibc" PATCHVER=0.1 DESCRIPTION="Network utility to retrieve files from the WWW" @@ -24,6 +24,7 @@ DEPEND="nls? ( sys-devel/gettext ) src_unpack() { unpack ${P}.tar.gz epatch ${DISTDIR}/${P}+ipvmisc-${PATCHVER}.patch + epatch ${FILESDIR}/${P}-uclibc.patch } src_compile() { diff --git a/net-misc/wget/wget-1.9.1-r2.ebuild b/net-misc/wget/wget-1.9.1-r2.ebuild index 9ef2c34cea95..aecfb64125e7 100644 --- a/net-misc/wget/wget-1.9.1-r2.ebuild +++ b/net-misc/wget/wget-1.9.1-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.9.1-r2.ebuild,v 1.12 2004/06/08 08:53:21 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.9.1-r2.ebuild,v 1.13 2004/06/15 06:55:23 solar Exp $ inherit gnuconfig eutils @@ -22,6 +22,7 @@ src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}+ipvmisc.patch + epatch ${FILESDIR}/${PN}-1.9-uclibc.patch } src_compile() { |