diff options
author | John Ankarstrom <john@ankarstrom.se> | 2021-07-08 12:57:14 +0200 |
---|---|---|
committer | John Ankarstrom <john@ankarstrom.se> | 2021-07-08 12:57:14 +0200 |
commit | 0f7e76134a9676111e59d80514fd8cec7292bba0 (patch) | |
tree | 8bb07492c6d29820e181adc2d76ec2468e86e893 | |
parent | 73e5ab93fb7679872cdc7cf718e960dbc1aefd25 (diff) | |
download | patches-0f7e76134a9676111e59d80514fd8cec7292bba0.tar.gz |
README: Add tip about nvi
-rw-r--r-- | README | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -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 |