commit: 732bf88e235195795c460388e03bf276e164409b Author: Marty Plummer <ntzrmtthihu777 <AT> gmail <DOT> com> AuthorDate: Sat Aug 12 05:43:06 2017 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Sep 17 00:41:48 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732bf88e
sys-fs/mtools: fix musl build Closes https://bugs.gentoo.org/show_bug.cgi?id=626948 Package-Manager: Portage-2.3.6, Repoman-2.3.3 sys-fs/mtools/mtools-4.0.18-r2.ebuild | 2 +- sys-fs/mtools/mtools-4.0.18.ebuild | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-fs/mtools/mtools-4.0.18-r2.ebuild b/sys-fs/mtools/mtools-4.0.18-r2.ebuild index c58be8b13a7..b24e3026f32 100644 --- a/sys-fs/mtools/mtools-4.0.18-r2.ebuild +++ b/sys-fs/mtools/mtools-4.0.18-r2.ebuild @@ -36,7 +36,7 @@ src_prepare() { src_configure() { # 447688 - use elibc_glibc || append-libs iconv + use !elibc_glibc && use !elibc_musl && append-libs "-liconv" econf \ --sysconfdir="${EPREFIX}"/etc/mtools \ $(use_with X x) diff --git a/sys-fs/mtools/mtools-4.0.18.ebuild b/sys-fs/mtools/mtools-4.0.18.ebuild index bec1d577505..20531ff7b2d 100644 --- a/sys-fs/mtools/mtools-4.0.18.ebuild +++ b/sys-fs/mtools/mtools-4.0.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="4" @@ -32,7 +32,7 @@ src_prepare() { src_configure() { # 447688 - use elibc_glibc || append-libs iconv + use !elibc_glibc && use !elibc_musl && append-libs "-liconv" econf \ --sysconfdir="${EPREFIX}"/etc/mtools \ $(use_with X x)