MFH: r564820

x11/foot: unbreak if devel/ncurses is installed

In-base ncurses uses termcap, so ports/ don't support populating
terminfo yet. For example, devel/ncurses has --with-hashed-db
which confuses Meson.

[2/3] /usr/local/bin/meson install --no-rebuild
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 140, in run
    return options.run_func(options)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/minstall.py", line 554, in run
    installer.do_install(datafilename)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/minstall.py", line 372, in do_install
    self.install_targets(d)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/minstall.py", line 468, in install_targets
    raise RuntimeError('File {!r} could not be found'.format(t.fname))
RuntimeError: File 'f' could not be found
This commit is contained in:
Jan Beich 2021-02-09 21:07:10 +00:00
parent ee139cf191
commit 0a52aa5122
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=564821
2 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,9 @@ DISTVERSION= 1.6.3
CATEGORIES= x11
MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
PATCH_SITES= https://codeberg.org/dnkl/${PORTNAME}/commit/
PATCHFILES+= bdc5810ff45e.patch:-p1 # -Dterminfo=disabled
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Fast, lightweight and minimalistic Wayland terminal emulator
@ -24,7 +27,7 @@ LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
USES= compiler:c11 meson pkgconfig xorg
USE_XORG= pixman
WRKSRC= ${WRKDIR}/${PORTNAME}
MESON_ARGS= -Dterminfo=false
MESON_ARGS= -Dterminfo=disabled
# XXX Drop after FreeBSD 12.1 EOL
.if exists(/usr/lib/clang/8.0.1)

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1611946390
SHA256 (foot-1.6.3.tar.gz) = 0340df647d3baae5bcafe6b081173d1850d3f92452d0d0b68d3edf0ef6eb1819
SIZE (foot-1.6.3.tar.gz) = 347352
SHA256 (bdc5810ff45e.patch) = 4366b74acdc28ff4e96e4ea32c5a02fc42b0ee04b28169c736c69ff58c9c7e4b
SIZE (bdc5810ff45e.patch) = 2639