diff options
author | rafan <rafan@FreeBSD.org> | 2007-03-09 12:11:58 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-03-09 12:11:58 +0000 |
commit | fa9f87addc8c55144163e1daa820a39383dd03fa (patch) | |
tree | df7c42863571e14b59adfbbc524c9dbaa17cc33e /lib/ncurses/config.mk | |
parent | 00dd163071b6b6660dc2a632ff2620584492dc4e (diff) | |
download | FreeBSD-src-fa9f87addc8c55144163e1daa820a39383dd03fa.zip FreeBSD-src-fa9f87addc8c55144163e1daa820a39383dd03fa.tar.gz |
Enable ncurses wide character support
Approved by: delphij (mentor)
Tested by: kris on pointyhat (early version), current@
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}) |