Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 696172 | Differences between
and this patch

Collapse All | Expand All

(-)app-text/hunspell/hunspell-1.6.2-r1.ebuild (-1 / +8 lines)
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
(-)app-text/hunspell/metadata.xml (+1 lines)
Lines 5-8 Link Here
5
		<remote-id type="sourceforge">hunspell</remote-id>
5
		<remote-id type="sourceforge">hunspell</remote-id>
6
		<remote-id type="github">hunspell/hunspell</remote-id>
6
		<remote-id type="github">hunspell/hunspell</remote-id>
7
	</upstream>
7
	</upstream>
8
	<flag name="clang">Use Clang compiler instead of GCC</flag>
8
</pkgmetadata>
9
</pkgmetadata>

Return to bug 696172