x11-libs/motif: Fix build with musl libc.
authorUlrich Müller <ulm@gentoo.org>
Sat, 8 Apr 2017 11:32:44 +0000 (13:32 +0200)
committerUlrich Müller <ulm@gentoo.org>
Sat, 8 Apr 2017 11:32:44 +0000 (13:32 +0200)
Bug: 613886
Package-Manager: Portage-2.3.5, Repoman-2.3.2

x11-libs/motif/motif-2.3.6-r1.ebuild

index 3f5abe3a935ae075bd0c81233cc5f514b6d15366..f509e79129fd29be61a317e57aa04accf5d97dbb 100644 (file)
@@ -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"