1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/editors/vim5/files/patch-01
David E. O'Brien 48801ace44 Use "MLINK"s rather than let Vim's Makefile do the manpage linking.
This fixes the problem that many of Vim's manpages pointed to nowhere.
1999-03-15 10:24:26 +00:00

84 lines
2.9 KiB
Plaintext

--- Makefile.orig Sun Aug 30 09:16:50 1998
+++ Makefile Mon Mar 15 01:55:08 1999
@@ -260,6 +260,7 @@
# just an example:
#CONF_ARGS = --exec-prefix=/usr
+CONF_ARGS = --prefix=$(PREFIX)
# GUI - For creating Vim with GUI (gvim)
# Uncomment the first line when you don't want to get the GUI version,
@@ -1172,56 +1173,56 @@
installlinks: $(GUI_TARGETS) $(BINDIR)/$(EXTARGET) $(BINDIR)/$(VIEWTARGET) $(BINDIR)/$(RVIMTARGET) $(BINDIR)/$(RVIEWTARGET)
$(BINDIR)/$(EXTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(EXTARGET)
+ #cd $(BINDIR); ln -s $(VIMTARGET) $(EXTARGET)
$(BINDIR)/$(VIEWTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(VIEWTARGET)
+ #cd $(BINDIR); ln -s $(VIMTARGET) $(VIEWTARGET)
$(BINDIR)/$(GVIMTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(GVIMTARGET)
+ cd $(BINDIR); ln -sf $(VIMTARGET) $(GVIMTARGET)
$(BINDIR)/$(GVIEWTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(GVIEWTARGET)
+ cd $(BINDIR); ln -sf $(VIMTARGET) $(GVIEWTARGET)
$(BINDIR)/$(RVIMTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(RVIMTARGET)
+ cd $(BINDIR); ln -sf $(VIMTARGET) $(RVIMTARGET)
$(BINDIR)/$(RVIEWTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(RVIEWTARGET)
+ cd $(BINDIR); ln -sf $(VIMTARGET) $(RVIEWTARGET)
$(BINDIR)/$(RGVIMTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(RGVIMTARGET)
+ cd $(BINDIR); ln -sf $(VIMTARGET) $(RGVIMTARGET)
$(BINDIR)/$(RGVIEWTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(RGVIEWTARGET)
+ cd $(BINDIR); ln -sf $(VIMTARGET) $(RGVIEWTARGET)
# 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)/$(EXTARGET).1 $(MANSUBDIR)/$(VIEWTARGET).1 $(MANSUBDIR)/$(RVIMTARGET).1 $(MANSUBDIR)/$(RVIEWTARGET).1
$(MANSUBDIR)/$(EXTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(EXTARGET).1
+ cd $(MANSUBDIR); #ln -s $(VIMTARGET).1 $(EXTARGET).1
$(MANSUBDIR)/$(VIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(VIEWTARGET).1
+ cd $(MANSUBDIR); #ln -s $(VIMTARGET).1 $(VIEWTARGET).1
$(MANSUBDIR)/$(GVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIMTARGET).1
+ cd $(MANSUBDIR); #ln -s $(VIMTARGET).1 $(GVIMTARGET).1
$(MANSUBDIR)/$(GVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIEWTARGET).1
+ cd $(MANSUBDIR); #ln -s $(VIMTARGET).1 $(GVIEWTARGET).1
$(MANSUBDIR)/$(RVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIMTARGET).1
+ cd $(MANSUBDIR); #ln -s $(VIMTARGET).1 $(RVIMTARGET).1
$(MANSUBDIR)/$(RVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIEWTARGET).1
+ cd $(MANSUBDIR); #ln -s $(VIMTARGET).1 $(RVIEWTARGET).1
$(MANSUBDIR)/$(RGVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIMTARGET).1
+ cd $(MANSUBDIR); #ln -s $(VIMTARGET).1 $(RGVIMTARGET).1
$(MANSUBDIR)/$(RGVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIEWTARGET).1
+ cd $(MANSUBDIR); #ln -s $(VIMTARGET).1 $(RGVIEWTARGET).1
uninstall:
-rm -f $(BINDIR)/$(VIMTARGET)$(SUFFIX)