commit: 010f572f0a89fa87d41227313b2069afae0fa4d6
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 3 09:26:50 2017 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Oct 3 09:26:50 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=010f572f
app-text/aspell: unbreak compilation on Darwin
Package-Manager: Portage-2.3.8, Repoman-2.3.1
app-text/aspell/aspell-0.60.7_rc1.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/app-text/aspell/aspell-0.60.7_rc1.ebuild
b/app-text/aspell/aspell-0.60.7_rc1.ebuild
index 5bbd533caac..574323a3d2d 100644
--- a/app-text/aspell/aspell-0.60.7_rc1.ebuild
+++ b/app-text/aspell/aspell-0.60.7_rc1.ebuild
@@ -71,6 +71,11 @@ src_prepare() {
# This has to be after automake has run so that we don't clobber
# the default target that automake creates for us.
echo 'install-filterLTLIBRARIES: install-libLTLIBRARIES' >> Makefile.in
|| die
+
+ # unicode patch breaks on Darwin, NCURSES_WIDECHAR won't get set
+ # any more. Fix this.
+ [[ ${CHOST} == *-darwin* ]] && use unicode && \
+ append-cppflags -DNCURSES_WIDECHAR=1
}
src_configure() {