Date: Thu, 25 Feb 2021 12:35:56 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566530 - head/x11/foot Message-ID: <202102251235.11PCZuXF054762@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Thu Feb 25 12:35:55 2021 New Revision: 566530 URL: https://svnweb.freebsd.org/changeset/ports/566530 Log: x11/foot: simplify terminfo support - Make post-patch unconditional as it's nop on FreeBSD < 14 - Switch = to += to allow additions outside the conditional Modified: head/x11/foot/Makefile (contents, props changed) Modified: head/x11/foot/Makefile ============================================================================== --- head/x11/foot/Makefile Thu Feb 25 11:30:22 2021 (r566529) +++ head/x11/foot/Makefile Thu Feb 25 12:35:55 2021 (r566530) @@ -27,13 +27,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME} .if exists(/usr/bin/tic) PKGMESSAGE= ${NONEXISTENT} -PLIST_FILES= share/site-terminfo/f/${PORTNAME} \ +PLIST_FILES+= share/site-terminfo/f/${PORTNAME} \ share/site-terminfo/f/${PORTNAME}-direct -post-patch: terminfo-patch -terminfo-patch: - @${REINPLACE_CMD} '/datadir/s/terminfo/site-&/' ${WRKSRC}/meson.build .else -MESON_ARGS= -Dterminfo=disabled +MESON_ARGS+= -Dterminfo=disabled .endif + +post-patch: +# Chase default TERMINFO_DIRS on FreeBSD, see lib/ncurses/ncurses/ncurses_cfg.h + @${REINPLACE_CMD} '/datadir/s/terminfo/site-&/' ${WRKSRC}/meson.build .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102251235.11PCZuXF054762>