pkgsrc/textproc/hunspell/options.mk
wiz 0ccd7a5540 hunspell: for wide character support, use ncursesw.
The configure script checks for the library name and accepts only ncursesw.

Bump PKGREVISION.
2018-05-23 22:06:49 +00:00

17 lines
442 B
Makefile

# $NetBSD: options.mk,v 1.7 2018/05/23 22:06:50 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.hunspell
PKG_SUPPORTED_OPTIONS= wide-curses
PKG_SUGGESTED_OPTIONS= # empty
.include "../../mk/bsd.options.mk"
###
### Wide curses support; otherwise, default to using narrow curses.
###
.if !empty(PKG_OPTIONS:Mwide-curses)
.include "../../devel/ncursesw/buildlink3.mk"
CPPFLAGS.SunOS+= -D_XPG6
.else
.include "../../mk/curses.buildlink3.mk"
.endif