aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-07-08 12:57:14 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-07-08 12:57:14 +0200
commit0f7e76134a9676111e59d80514fd8cec7292bba0 (patch)
tree8bb07492c6d29820e181adc2d76ec2468e86e893
parent73e5ab93fb7679872cdc7cf718e960dbc1aefd25 (diff)
downloadpatches-0f7e76134a9676111e59d80514fd8cec7292bba0.tar.gz
README: Add tip about nvi
-rw-r--r--README29
1 files changed, 29 insertions, 0 deletions
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