diff options
author | rafan <rafan@FreeBSD.org> | 2007-03-09 20:18:05 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-03-09 20:18:05 +0800 |
commit | 625a94a836c534cd476fd5a4ac62a7fb4fb92b19 (patch) | |
tree | 9cfdee5d8fa7b54eac2663be7a542287d1976187 /mail/cone | |
parent | a49bdad7229db6017a3bd8d2cbb12c8f609e434c (diff) | |
download | freebsd-ports-gnome-625a94a836c534cd476fd5a4ac62a7fb4fb92b19.tar.gz freebsd-ports-gnome-625a94a836c534cd476fd5a4ac62a7fb4fb92b19.tar.zst freebsd-ports-gnome-625a94a836c534cd476fd5a4ac62a7fb4fb92b19.zip |
We have ncursesw support in base system after OSVERSION >= 700033.
Approved by: maintainer via private mail
Diffstat (limited to 'mail/cone')
-rw-r--r-- | mail/cone/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/cone/Makefile b/mail/cone/Makefile index 70bb69ab9e78..899bc4fd0d2a 100644 --- a/mail/cone/Makefile +++ b/mail/cone/Makefile @@ -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 |