aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ncurses/config.mk')
-rw-r--r--lib/ncurses/config.mk11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/ncurses/config.mk b/lib/ncurses/config.mk
index d15be8601136..f199c5829b65 100644
--- a/lib/ncurses/config.mk
+++ b/lib/ncurses/config.mk
@@ -4,20 +4,11 @@
NCURSES_DIR= ${SRCTOP}/contrib/ncurses
-.if defined(ENABLE_WIDEC)
-LIB_SUFFIX= w
CFLAGS+= -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC
-NCURSES_CFG_H= ${.CURDIR:H}/ncurses/ncurses_cfg.h
-.else
-LIB_SUFFIX=
NCURSES_CFG_H= ${.CURDIR}/ncurses_cfg.h
-.endif
CFLAGS+= -I.
-.if exists(${.OBJDIR:H}/ncurses${LIB_SUFFIX})
-CFLAGS+= -I${.OBJDIR:H}/ncurses${LIB_SUFFIX}
-.endif
-CFLAGS+= -I${.CURDIR:H}/ncurses${LIB_SUFFIX}
+CFLAGS+= -I${.CURDIR:H}/ncurses
# for ${NCURSES_CFG_H}
CFLAGS+= -I${.CURDIR:H}/ncurses