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