summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-06-22 20:54:42 +0200
committerFabian Groffen <grobian@gentoo.org>2016-06-22 20:54:54 +0200
commita4c200757bc8abff5427a77a4254735b452b9f93 (patch)
tree3b81d1aa33890ffe0434adefb1adb3733288073b /net-misc/wget
parentapp-crypt/gnupg: fix remaining ebuilds building with Clang (diff)
downloadgentoo-a4c200757bc8abff5427a77a4254735b452b9f93.tar.gz
gentoo-a4c200757bc8abff5427a77a4254735b452b9f93.tar.bz2
gentoo-a4c200757bc8abff5427a77a4254735b452b9f93.zip
net-misc/wget: fix linking wrt iconv on Darwin/Solaris, bug #585924
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-misc/wget')
-rw-r--r--net-misc/wget/wget-1.18.ebuild6
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() {