Commit 1bad2055 authored by bapt's avatar bapt
Browse files

Make devel/ncurses use terminfo-db,

Following up on the changes that happened in base, remove the terminfo-db
from the package and do not make it an explicit dependency: because
it fallbacks on termcap, it can work without terminfo-db

Add a message to tell the users about the terminfo-db so depending on their
preference they can chose to either stay with termcap or install terminfo-db

Reviewed by:	swills (maintainer)
Approved by:	swills (maintainer)
Differential Revision:	https://reviews.freebsd.org/D29322
parent 74c94ece
......@@ -3,6 +3,7 @@
PORTNAME= ncurses
DISTVERSION= 6.2-${SNAPSHOT}
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.invisible-island.net/${PORTNAME}/current/ \
https://invisible-mirror.net/archives/ncurses/current/
......@@ -20,12 +21,13 @@ USES= cpe pkgconfig shebangfix tar:tgz
SNAPSHOT= 20210313
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc \
--with-terminfo-dirs="${PREFIX}/share/misc/terminfo:${LOCALBASE}/share/site-terminfo" \
CONFIGURE_ARGS= --datadir=${PREFIX}/share \
--with-terminfo-dirs="${PREFIX}/share/terminfo:${LOCALBASE}/share/site-terminfo" \
--disable-home-terminfo \
--disable-overwrite \
--disable-root-environ \
--disable-lib-suffixes \
--disable-db-install \
--enable-bsdpad \
--enable-colorfgbg \
--enable-getcap \
......
{
type: install
message: <<EOM
To get the terminfo database please install the terminfo-db package:
pkg install terminfo-db
EOL
}
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment