diff options
Diffstat (limited to 'lib/ncurses/config.mk')
-rw-r--r-- | lib/ncurses/config.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ncurses/config.mk b/lib/ncurses/config.mk index 15d9547..7bc7d01 100644 --- a/lib/ncurses/config.mk +++ b/lib/ncurses/config.mk @@ -4,7 +4,14 @@ NCURSES_DIR= ${.CURDIR}/../../../contrib/ncurses +.if defined(ENABLE_WIDEC) +LIB_SUFFIX= w +CFLAGS+= -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC +NCURSES_CFG_H= ${.CURDIR}/../ncurses/ncurses_cfg.h +.else +LIB_SUFFIX= NCURSES_CFG_H= ${.CURDIR}/ncurses_cfg.h +.endif CFLAGS+= -I. .if exists(${.OBJDIR}/../ncurses${LIB_SUFFIX}) |