Skip to content

Commit ad08c2f

Browse files
committed
Catch up with changes in ncurses in base
Switch from bdb hashed database to directory tree databases Allow to lookup for terminfo files in ${LOCALBASE}/share/site-terminfo Meaning ports can now install their own file definition in ${LOCALBASE}/share/site-terminfo and do not need to tun tic at all at install time. Reviewed by: swills (maintainer) Approved by: swills (maintainer) Differential Revision: https://reviews.freebsd.org/D28930
1 parent 868e126 commit ad08c2f

File tree

2 files changed

+2812
-10
lines changed

2 files changed

+2812
-10
lines changed

Diff for: devel/ncurses/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
PORTNAME= ncurses
55
DISTVERSION= 6.2-${SNAPSHOT}
6+
PORTREVISION= 1
67
CATEGORIES= devel
78
MASTER_SITES= ftp://ftp.invisible-island.net/${PORTNAME}/current/ \
89
https://invisible-mirror.net/archives/ncurses/current/
@@ -21,6 +22,7 @@ USES= cpe pkgconfig shebangfix tar:tgz terminfo
2122
SNAPSHOT= 20210213
2223
GNU_CONFIGURE= yes
2324
CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc \
25+
--with-terminfo-dirs="${PREFIX}/share/misc/terminfo:${LOCALBASE}/share/site-terminfo" \
2426
--disable-home-terminfo \
2527
--disable-overwrite \
2628
--disable-root-environ \
@@ -34,7 +36,7 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/share/misc \
3436
--enable-widec \
3537
--includedir=${PREFIX}/include/ncurses \
3638
--program-prefix= \
37-
--with-hashed-db \
39+
--without-hashed-db \
3840
--with-manpage-format=gzip \
3941
--with-pkg-config-libdir=${PREFIX}/libdata/pkgconfig \
4042
--with-pkg-config=yes \
@@ -99,8 +101,6 @@ post-install:
99101

100102
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.${DISTVERSION:S/-${SNAPSHOT}//}
101103

102-
${MV} ${STAGEDIR}${PREFIX}/share/misc/terminfo.db \
103-
${STAGEDIR}${PREFIX}/share/misc/terminfo.db.default
104104
# backwards compatibility, remove 2021-07-02
105105
${RLN} ${STAGEDIR}${PREFIX}/lib/libncurses.so ${STAGEDIR}${PREFIX}/lib/libncursesw.so
106106
${RLN} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ncurses.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ncursesw.pc

0 commit comments

Comments
 (0)