diff options
-rw-r--r-- | net-misc/wget/wget-1.18.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net-misc/wget/wget-1.18.ebuild b/net-misc/wget/wget-1.18.ebuild index 74d2cd2235d9..6fd73f1e9eb2 100644 --- a/net-misc/wget/wget-1.18.ebuild +++ b/net-misc/wget/wget-1.18.ebuild @@ -50,6 +50,12 @@ pkg_setup() { src_prepare() { epatch "${FILESDIR}"/${PN}-1.17.1-gnulib-cygwin-sys_select.patch + # revert some hack that breaks linking, bug #585924 + if [[ ${CHOST} == *-darwin* ]] || [[ ${CHOST} == *-solaris* ]] ; then + sed -i \ + -e 's/^ LIBICONV=$/:/' \ + configure || die + fi } src_configure() { |