Date: Fri, 1 Sep 2023 23:32:03 +0000 (UTC) From: RVP <r...@sdf.org> Message-ID: <db47481a-f689-4986-8882-f64ed109d...@sdf.org>
| So, something like this: | | PREFER.curses= pkgsrc | .include "../../mk/curses.buildlink3.mk" | .if ! ${PREFER.curses:U} == "pkgsrc" | .include "../../mk/termcap.buildlink3.mk" | .endif | .include "../../mk/bsd.pkg.mk" Wouldn't it be better to just delete the include of the termcap buildlink file entirely? That is unless the application is actyally using termcap functionality directly itself. If the only reason it is there is because the NetBSD curses requires it, surely the curses buildlink file should be adding it, when it is needed (and not otherwise). kre