summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-11-15 16:50:57 +0100
committerFabian Groffen <grobian@gentoo.org>2017-11-15 16:51:13 +0100
commita491565b0fe6267f4afe4caabd1be38a2459476f (patch)
treee8de8ffb231cf202e3f6e631f250a63235f95be1 /net-misc/wget
parentmedia-libs/adplug: Add live ebuild (diff)
downloadgentoo-a491565b0fe6267f4afe4caabd1be38a2459476f.tar.gz
gentoo-a491565b0fe6267f4afe4caabd1be38a2459476f.tar.bz2
gentoo-a491565b0fe6267f4afe4caabd1be38a2459476f.zip
net-misc/wget: add Cygwin support, bug #637572
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'net-misc/wget')
-rw-r--r--net-misc/wget/wget-1.19.2-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-misc/wget/wget-1.19.2-r1.ebuild b/net-misc/wget/wget-1.19.2-r1.ebuild
index 112e811986a8..fb5c54b33014 100644
--- a/net-misc/wget/wget-1.19.2-r1.ebuild
+++ b/net-misc/wget/wget-1.19.2-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/wget/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-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"
+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"
IUSE="debug gnutls idn ipv6 libressl nls ntlm pcre +ssl static test uuid zlib"
REQUIRED_USE=" ntlm? ( !gnutls ssl ) gnutls? ( ssl )"
@@ -55,7 +55,11 @@ src_prepare() {
default
# revert some hack that breaks linking, bug #585924
- if [[ ${CHOST} == *-darwin* ]] || [[ ${CHOST} == *-solaris* ]] || [[ ${CHOST} == *-uclibc* ]]; then
+ if [[ ${CHOST} == *-darwin* ]] \
+ || [[ ${CHOST} == *-solaris* ]] \
+ || [[ ${CHOST} == *-uclibc* ]] \
+ || [[ ${CHOST} == *-cygwin* ]] \
+ ; then
sed -i \
-e 's/^ LIBICONV=$/:/' \
configure || die