Lines 12-18
Link Here
|
12 |
|
12 |
|
13 |
SLOT="0/$(get_version_component_range 1-2)" |
13 |
SLOT="0/$(get_version_component_range 1-2)" |
14 |
LICENSE="MPL-1.1 GPL-2 LGPL-2.1" |
14 |
LICENSE="MPL-1.1 GPL-2 LGPL-2.1" |
15 |
IUSE="ncurses nls readline static-libs" |
15 |
IUSE="clang ncurses nls readline static-libs" |
16 |
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
16 |
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
17 |
|
17 |
|
18 |
RDEPEND=" |
18 |
RDEPEND=" |
Lines 59-64
Link Here
|
59 |
} |
59 |
} |
60 |
|
60 |
|
61 |
src_configure() { |
61 |
src_configure() { |
|
|
62 |
if use clang && ! tc-is-clang ; then |
63 |
# Force clang |
64 |
CC=${CHOST}-clang |
65 |
CXX=${CHOST}-clang++ |
66 |
tc-export AR CC CXX LD NM |
67 |
strip-unsupported-flags |
68 |
fi |
62 |
# missing somehow, and I am too lazy to fix it properly |
69 |
# missing somehow, and I am too lazy to fix it properly |
63 |
[[ ${CHOST} == *-darwin* ]] && append-libs -liconv |
70 |
[[ ${CHOST} == *-darwin* ]] && append-libs -liconv |
64 |
|
71 |
|