aboutsummaryrefslogtreecommitdiff
path: root/lib/ncurses/config.mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2021-01-04 16:29:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2021-01-05 13:01:32 +0000
commit821aa63a09402935da0a73abf20ba0441562aa07 (patch)
treeb1a1034d969a225e45fc85a376347eea3b391652 /lib/ncurses/config.mk
parent9fd96b416c4572c83d4958763819bae83928cbce (diff)
downloadsrc-821aa63a09402935da0a73abf20ba0441562aa07.tar.gz
src-821aa63a09402935da0a73abf20ba0441562aa07.zip
ncurses: only keep the version with widechar support
Only keep the widechar version of ncurses as libncursesw.so.9 Keep the old name to avoid breaking the ABI compatibility (the non widechar version libncurses.so.9 is not binary compatible with libncursesw.so.9) since all ports and base are already only linking against the widechar version we can simply remove libncurses.so.9 Since the .9 version only lived in the dev branch and never ended in a release, it is simply removed and not added to any binary compat package. Add symlinks to keep build time compatibility for anyone linking against -lncurses
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