PORTNAME= ncurses
PORTVERSION= 6.0.0s${SNAPSHOT}
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.invisible-island.net/${PORTNAME}/current/
DISTNAME= ${PORTNAME}-6.0-${SNAPSHOT}
--- configure.orig 2017-08-12 12:15:04 UTC
+++ configure
@@ -8053,7 +8053,10 @@ case $host_os in
cf_xopen_source="-D_DARWIN_C_SOURCE"
cf_XOPEN_SOURCE=
;;
-(freebsd*|dragonfly*)
+(freebsd*)
+ cf_XOPEN_SOURCE=
+ ;;
+(dragonfly*)
# 5.x headers associate
# _XOPEN_SOURCE=600 with _POSIX_C_SOURCE=200112L
# _XOPEN_SOURCE=500 with _POSIX_C_SOURCE=199506L