From 6b7d4594af66361ae00c70f60574773e7cf9b561 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 8 Apr 2017 13:32:44 +0200 Subject: 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(-) (limited to 'x11-libs/motif') diff --git a/x11-libs/motif/motif-2.3.6-r1.ebuild b/x11-libs/motif/motif-2.3.6-r1.ebuild index 3f5abe3a935a..f509e79129fd 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" -- cgit v1.2.3-65-gdbad