Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/wget/
Date: Wed, 15 Nov 2017 15:51:20
Message-Id: 1510761073.a491565b0fe6267f4afe4caabd1be38a2459476f.grobian@gentoo
1 commit: a491565b0fe6267f4afe4caabd1be38a2459476f
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 15 15:50:57 2017 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 15 15:51:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a491565b
7
8 net-misc/wget: add Cygwin support, bug #637572
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 net-misc/wget/wget-1.19.2-r1.ebuild | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15 diff --git a/net-misc/wget/wget-1.19.2-r1.ebuild b/net-misc/wget/wget-1.19.2-r1.ebuild
16 index 112e811986a..fb5c54b3301 100644
17 --- a/net-misc/wget/wget-1.19.2-r1.ebuild
18 +++ b/net-misc/wget/wget-1.19.2-r1.ebuild
19 @@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/wget/${P}.tar.gz"
20
21 LICENSE="GPL-3"
22 SLOT="0"
23 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
24 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
25 IUSE="debug gnutls idn ipv6 libressl nls ntlm pcre +ssl static test uuid zlib"
26 REQUIRED_USE=" ntlm? ( !gnutls ssl ) gnutls? ( ssl )"
27
28 @@ -55,7 +55,11 @@ src_prepare() {
29 default
30
31 # revert some hack that breaks linking, bug #585924
32 - if [[ ${CHOST} == *-darwin* ]] || [[ ${CHOST} == *-solaris* ]] || [[ ${CHOST} == *-uclibc* ]]; then
33 + if [[ ${CHOST} == *-darwin* ]] \
34 + || [[ ${CHOST} == *-solaris* ]] \
35 + || [[ ${CHOST} == *-uclibc* ]] \
36 + || [[ ${CHOST} == *-cygwin* ]] \
37 + ; then
38 sed -i \
39 -e 's/^ LIBICONV=$/:/' \
40 configure || die