From: Ulrich Müller Date: Sat, 8 Apr 2017 11:32:44 +0000 (+0200) Subject: x11-libs/motif: Fix build with musl libc. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b7d4594af66361ae00c70f60574773e7cf9b561;p=gentoo.git x11-libs/motif: Fix build with musl libc. Bug: 613886 Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- 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"