summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-10-03 11:26:50 +0200
committerFabian Groffen <grobian@gentoo.org>2017-10-03 11:26:50 +0200
commit010f572f0a89fa87d41227313b2069afae0fa4d6 (patch)
treee4f02d34b2f24e9d4588c525d83340a79955fbc2 /app-text
parentnet-dns/libidn2: stable 2.0.4 for ia64/ppc/ppc64, bug #629466 (diff)
downloadgentoo-010f572f0a89fa87d41227313b2069afae0fa4d6.tar.gz
gentoo-010f572f0a89fa87d41227313b2069afae0fa4d6.tar.bz2
gentoo-010f572f0a89fa87d41227313b2069afae0fa4d6.zip
app-text/aspell: unbreak compilation on Darwin
Package-Manager: Portage-2.3.8, Repoman-2.3.1
Diffstat (limited to 'app-text')
-rw-r--r--app-text/aspell/aspell-0.60.7_rc1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-text/aspell/aspell-0.60.7_rc1.ebuild b/app-text/aspell/aspell-0.60.7_rc1.ebuild
index 5bbd533caac7..574323a3d2db 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() {