aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-11-19 01:56:16 +0800
committermarino <marino@FreeBSD.org>2016-11-19 01:56:16 +0800
commita2323c6fd950396f827614edb776d9c8dd9a26f4 (patch)
tree99b2dc84ccff307e5ec38d2db6b26ac42ba32601
parentb6b55e9c0d08706c2d5f96122d080e0ba3fc41de (diff)
downloadfreebsd-ports-gnome-a2323c6fd950396f827614edb776d9c8dd9a26f4.tar.gz
freebsd-ports-gnome-a2323c6fd950396f827614edb776d9c8dd9a26f4.tar.zst
freebsd-ports-gnome-a2323c6fd950396f827614edb776d9c8dd9a26f4.zip
ftp/ncftp3: Skip faulty ncurses.h header check
The ncurses.h header configure check doesn't use cflags apparently thus returning a false negative on the presence of the ncurses headers (it picks up base headers if they exist instead). Just cache the test result as "yes" to fix the build for ports-based ncurses.
-rw-r--r--ftp/ncftp3/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftp/ncftp3/Makefile b/ftp/ncftp3/Makefile
index f9fa72ccf010..25387e61d446 100644
--- a/ftp/ncftp3/Makefile
+++ b/ftp/ncftp3/Makefile
@@ -20,6 +20,7 @@ USES= ncurses tar:bzip2
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV+= ac_cv_header_ncurses_h=yes
PORTDOCS= *