commit: 6b7d4594af66361ae00c70f60574773e7cf9b561
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 8 11:32:44 2017 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 8 11:32:44 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b7d4594
x11-libs/motif: Fix build with musl libc.
Bug: 613886
Package-Manager: Portage-2.3.5, Repoman-2.3.2
x11-libs/motif/motif-2.3.6-r1.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/x11-libs/motif/motif-2.3.6-r1.ebuild
b/x11-libs/motif/motif-2.3.6-r1.ebuild
index 3f5abe3a935..f509e79129f 100644
--- a/x11-libs/motif/motif-2.3.6-r1.ebuild
+++ b/x11-libs/motif/motif-2.3.6-r1.ebuild
@@ -62,7 +62,8 @@ src_prepare() {
[[ ${CHOST} == *-solaris2.11 ]] \
&& append-cppflags -DNEED_XOS_R_H -DHAVE_READDIR_R_3
- if use !elibc_glibc && use !elibc_uclibc && use unicode; then
+ if use !elibc_glibc && use !elibc_uclibc && use !elibc_musl \
+ && use unicode; then
# libiconv detection in configure script doesn't always work
# http://bugs.motifzone.net/show_bug.cgi?id=1423
export LIBS="${LIBS} -liconv"