From 0f7e76134a9676111e59d80514fd8cec7292bba0 Mon Sep 17 00:00:00 2001 From: John Ankarstrom Date: Thu, 8 Jul 2021 12:57:14 +0200 Subject: README: Add tip about nvi --- README | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'README') diff --git a/README b/README index 3e2307e..88399b1 100644 --- a/README +++ b/README @@ -54,3 +54,32 @@ You can use the undopatch script to automate this. make do-patch make do-build make replace + +--- + +Below is a selection of various tips. + += Building nvi with Perl support = + +Make the following modifications to /usr/pkgsrc/editors/nvi/Makefile: + + --- Makefile.old 2021-07-08 12:53:15.538072320 +0200 + +++ Makefile 2021-07-08 12:54:27.003854632 +0200 + @@ -19,6 +19,7 @@ + GNU_CONFIGURE= yes + CONFIGURE_SCRIPT= ../dist/configure + CONFIGURE_ARGS+= --program-transform-name='s,^,n,' + +CONFIGURE_ARGS+= --enable-perlinterp + CONFIGURE_ENV+= vi_cv_path_shell=${TOOLS_SH} + + .if ${OPSYS} == "NetBSD" + @@ -49,4 +50,5 @@ + aclocal -I m4 && autoheader && autoconf + + .include "../../mk/curses.buildlink3.mk" + +.include "../../lang/perl5/buildlink3.mk" + .include "../../mk/bsd.pkg.mk" + +You may also need to re-generate PLIST: + + # make print-PLIST > PLIST -- cgit v1.2.3