pkgsrc/editors/vim-share/patches/patch-ac
pooka d0e460b82d Upgrade vim packages to version 5.7. Use internal curses if possible.
New since version 5.6
---------------------
Not much:
- 19 new syntax files.
- "explorer.vim" script, works like a file browser.

And many bug fixes!  This version is aimed at stability.
2000-06-25 11:50:32 +00:00

36 lines
1.3 KiB
Text

$NetBSD: patch-ac,v 1.4 2000/06/25 11:50:37 pooka Exp $
--- Makefile.orig Sat Jun 24 12:28:59 2000
+++ Makefile Sun Jun 25 13:42:51 2000
@@ -752,7 +752,7 @@
### might not work when they are changed!)
VIMDIR = /vim
VIMRTDIR = /vim57
-HELPSUBDIR = /doc
+HELPSUBDIR = /../../doc/vim
SYNSUBDIR = /syntax
MACROSUBDIR = /macros
TOOLSSUBDIR = /tools
@@ -1367,6 +1367,7 @@
# install the help files; first adjust the contents for the location
installvimhelp: $(HELPSOURCE)/vim.1 $(MANSUBDIR) $(VIMLOC) $(VIMRTLOC) $(HELPSUBLOC) $(SYNSUBLOC) $(TUTORSUBLOC)
+ ln -s ${HELPSUBLOC} ${VIMRTLOC}/doc
@echo generating $(MANSUBDIR)/$(VIMNAME).1
@sed -e s+/usr/local/lib/vim+$(VIMLOC)+ \
-e s+$(VIMLOC)/doc+$(HELPENDLOC)+ \
@@ -1487,13 +1488,7 @@
# create links for the manual pages with various names to vim. This is only
# done when the links (or manpages with the same name) don't exist yet.
-installhelplinks: $(GUI_MAN_TARGETS) $(MANSUBDIR)/$(EXNAME).1 $(MANSUBDIR)/$(VIEWNAME).1 $(MANSUBDIR)/$(RVIMNAME).1 $(MANSUBDIR)/$(RVIEWNAME).1
-
-$(MANSUBDIR)/$(EXNAME).1:
- cd $(MANSUBDIR); ln -s $(VIMNAME).1 $(EXNAME).1
-
-$(MANSUBDIR)/$(VIEWNAME).1:
- cd $(MANSUBDIR); ln -s $(VIMNAME).1 $(VIEWNAME).1
+installhelplinks: $(GUI_MAN_TARGETS) $(MANSUBDIR)/$(RVIMNAME).1 $(MANSUBDIR)/$(RVIEWNAME).1
$(MANSUBDIR)/$(GVIMNAME).1:
cd $(MANSUBDIR); ln -s $(VIMNAME).1 $(GVIMNAME).1