Commit: 5db2b4afa442ef3233f5ff7b9cd6c73c88a5ed76
Parent: 4565cc412b6093abf0a5b256aa2e7ee583707129
Author: Randy Palamar
Date: Fri, 6 Oct 2023 07:58:16 -0600
vis: don't build with curses
netbsd curses seems to have some issues with clearing the screen
too often. Curses is actually not needed with vis and the built in
'vt100' mode has no noticeable differences in my experience.
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/pkg/editors/vis/gen.lua b/pkg/editors/vis/gen.lua
@@ -2,7 +2,7 @@ set('version', 'cbaa0d8')
cflags({
'-std=c99',
'-D CONFIG_HELP=1',
- '-D CONFIG_CURSES=1',
+ '-D CONFIG_CURSES=0',
'-D CONFIG_LUA=1',
'-D CONFIG_LPEG=1',
'-D CONFIG_TRE=0',
@@ -17,7 +17,6 @@ cflags({
'-I $outdir',
'-isystem $builddir/pkg/lang/lua/include',
'-isystem $builddir/pkg/libs/libtermkey/include',
- '-isystem $builddir/pkg/libs/netbsd-curses/include',
})
build('copy', '$outdir/config.h', '$srcdir/config.def.h')
@@ -26,7 +25,6 @@ pkg.deps = {
'$outdir/config.h',
'pkg/lang/lua/headers',
'pkg/libs/libtermkey/headers',
- 'pkg/libs/netbsd-curses/headers',
}
exe('vis', [[
@@ -59,7 +57,6 @@ exe('vis', [[
$builddir/pkg/lang/lua/liblua.a
$builddir/pkg/libs/libtermkey/libtermkey.a.d
$builddir/pkg/libs/lpeg/liblpeg.a
- $builddir/pkg/libs/netbsd-curses/libcurses.a.d
]])
file('bin/vis', '755', '$outdir/vis')
diff --git a/pkg/editors/vis/ver b/pkg/editors/vis/ver
@@ -1 +1 @@
-cbaa0d8 r0
+cbaa0d8 r1