summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMarty Plummer <ntzrmtthihu777@gmail.com>2017-08-12 00:43:06 -0500
committerThomas Deutschmann <whissi@gentoo.org>2017-09-17 02:41:48 +0200
commit732bf88e235195795c460388e03bf276e164409b (patch)
tree22736cee7e303cd03cd2c5d93a6f25ab81249e85 /sys-fs
parentafabc2467edfbf280e43a86d816181808dfbe3c2 (diff)
downloadgentoo-732bf88e235195795c460388e03bf276e164409b.tar.gz
gentoo-732bf88e235195795c460388e03bf276e164409b.tar.xz
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
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mtools/mtools-4.0.18-r2.ebuild2
-rw-r--r--sys-fs/mtools/mtools-4.0.18.ebuild4
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)