diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-09 12:18:05 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-09 12:18:05 +0000 |
commit | a4c386e2954c15a67ce1b7aad652009225bc36e2 (patch) | |
tree | 7b4ab55ba75debcba159e267f93948ec1087d300 /mail/cone | |
parent | 12cb56eb453668665ee615bde035f181a04e4f22 (diff) | |
download | ports-a4c386e2954c15a67ce1b7aad652009225bc36e2.tar.gz ports-a4c386e2954c15a67ce1b7aad652009225bc36e2.zip |
Notes
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 |