We have ncursesw support in base system after OSVERSION >= 700033.
Approved by: maintainer via private mail
This commit is contained in:
parent
12cb56eb45
commit
a4c386e295
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187001
@ -47,7 +47,9 @@ INSTALL_TARGET= install-strip
|
||||
IGNORE= not supported on FreeBSD versions before 5.2.1-RELEASE
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/include/ncurses/ncurses.h) || defined(WITH_NCURSESW)
|
||||
.if ${OSVERSION} > 700032
|
||||
CPPFLAGS+= -D_XOPEN_SOURCE_EXTENDED
|
||||
.elif exists(${LOCALBASE}/include/ncurses/ncurses.h) || defined(WITH_NCURSESW)
|
||||
CPPFLAGS+= -I${WRKDIR} -D_XOPEN_SOURCE_EXTENDED
|
||||
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user