diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2019-12-13 13:24:16 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2019-12-13 13:24:16 +0000 |
commit | faf1a5c0c604f2dc590c05fc0f9c45eb9ff3f048 (patch) | |
tree | e48997bc9143ba91defceba62d32bd59033224ea /Mk | |
parent | 2a70a3030516754885d5585713c17884b0ca3c5c (diff) | |
download | freebsd-ports-faf1a5c0c604f2dc590c05fc0f9c45eb9ff3f048.zip |
Provide a new macro NCURSES_IMPL
This is necessary to deal with the reduction of the ncurses library from
2 implementation on one single implementation which would be only the widechar.
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D22794
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/ncurses.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/Uses/ncurses.mk b/Mk/Uses/ncurses.mk index f5e42e4baf97..1420722e8465 100644 --- a/Mk/Uses/ncurses.mk +++ b/Mk/Uses/ncurses.mk @@ -37,6 +37,9 @@ ncurses_ARGS= port .if ${ncurses_ARGS} == base NCURSESBASE= /usr NCURSESINC= ${NCURSESBASE}/include +.if !exists(/usr/lib/libncursesw.so) +NCURSES_IMPL= ncurses +.endif . if exists(${LOCALBASE}/lib/libncurses.so) _USES_sanity+= 400:check-depends-ncurses @@ -85,5 +88,6 @@ LDFLAGS+= -Wl,-rpath=${NCURSESRPATH} .endif NCURSESLIB= ${NCURSESBASE}/lib +NCURSES_IMPL?= ncursesw .endif |