From 732bf88e235195795c460388e03bf276e164409b Mon Sep 17 00:00:00 2001 From: Marty Plummer Date: Sat, 12 Aug 2017 00:43:06 -0500 Subject: 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(-) (limited to 'sys-fs/mtools') diff --git a/sys-fs/mtools/mtools-4.0.18-r2.ebuild b/sys-fs/mtools/mtools-4.0.18-r2.ebuild index c58be8b13a78..b24e3026f32b 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 bec1d577505a..20531ff7b2d8 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) -- cgit v1.2.3-65-gdbad