pkgsrc/audio/ncmpc/options.mk
drochner a0513c20dd -NetBSD-current's wide curses is good enough -- I'm assuming that any
builtin wide curses which is recognized by pkgsrc/ncursesw/builtin.mk
 is fine.
-Set the keyboard mode to raw() explicitely. ncurses seems to do
 this in some magical way, didn't find a hint in documentation.
-Explicitely disable widechar support if the pkgsrc option is deselected -
 otherwise it gets enabled unwantedly if widechar support is found in the
 normal curses lib.
2010-02-24 18:08:12 +00:00

17 lines
459 B
Makefile

# $NetBSD: options.mk,v 1.2 2010/02/24 18:08:12 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ncmpc
PKG_SUPPORTED_OPTIONS= wide-curses
PKG_SUGGESTED_OPTIONS= wide-curses
.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"
.else
CONFIGURE_ARGS+= --disable-wide
. include "../../devel/ncurses/buildlink3.mk"
.endif