diff options
Diffstat (limited to 'app-editors/nvi/files/nvi-1.81.5-build.patch')
-rw-r--r-- | app-editors/nvi/files/nvi-1.81.5-build.patch | 145 |
1 files changed, 145 insertions, 0 deletions
diff --git a/app-editors/nvi/files/nvi-1.81.5-build.patch b/app-editors/nvi/files/nvi-1.81.5-build.patch new file mode 100644 index 000000000000..80b93389df8c --- /dev/null +++ b/app-editors/nvi/files/nvi-1.81.5-build.patch @@ -0,0 +1,145 @@ +--- nvi-1.81.5/dist/Makefile.am ++++ nvi-1.81.5/dist/Makefile.am +@@ -268,35 +268,12 @@ + fmode= 444 + + install-exec-local: +- cd $(DESTDIR)$(bindir) && $(rm) -f `echo ex | sed '$(transform)'` +- cd $(DESTDIR)$(bindir) && $(rm) -f `echo view | sed '$(transform)'` +- cd $(DESTDIR)$(bindir) && $(ln) \ +- `echo vi | sed '$(transform)'` `echo ex | sed '$(transform)'` +- cd $(DESTDIR)$(bindir) && $(ln) \ +- `echo vi | sed '$(transform)'` `echo view | sed '$(transform)'` + + install-data-local: install_common + @[ -d $(DESTDIR)$(mandir) ] || \ + ($(mkdir) $(DESTDIR)$(mandir) && \ + $(chmod) $(dmode) $(DESTDIR)$(mandir)) +- @[ -d $(DESTDIR)$(mandir)/cat1 ] || \ +- ($(mkdir) $(DESTDIR)$(mandir)/cat1 && \ +- $(chmod) $(dmode) $(DESTDIR)$(mandir)/cat1) + @echo "Installing man pages: $(DESTDIR)$(mandir) ..." +- @cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo vi.0 | sed '$(transform)'` +- @$(cp) $(visrcdir)/docs/vi.man/vi.0 \ +- $(DESTDIR)$(mandir)/cat1/`echo vi.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && \ +- $(chmod) $(fmode) `echo vi.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo ex.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo view.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && $(ln) \ +- `echo vi.0 | sed '$(transform)'` `echo ex.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && $(ln) \ +- `echo vi.0 | sed '$(transform)'` `echo view.0 | sed '$(transform)'` + @[ -d $(DESTDIR)$(mandir)/man1 ] || \ + ($(mkdir) $(DESTDIR)$(mandir)/man1 && \ + $(chmod) $(dmode) $(DESTDIR)$(mandir)/man1) +@@ -306,14 +283,6 @@ + $(DESTDIR)$(mandir)/man1/`echo vi.1 | sed '$(transform)'` + @cd $(DESTDIR)$(mandir)/man1 && \ + $(chmod) $(fmode) `echo vi.1 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/man1 && \ +- $(rm) -f `echo ex.1 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/man1 && \ +- $(rm) -f `echo view.1 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/man1 && $(ln) \ +- `echo vi.1 | sed '$(transform)'` `echo ex.1 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/man1 && $(ln) \ +- `echo vi.1 | sed '$(transform)'` `echo view.1 | sed '$(transform)'` + + cat= dutch english french german ru_SU.KOI8-R spanish swedish + install_common: +@@ -361,17 +330,5 @@ + + uninstall-local: + $(rm) -rf $(DESTDIR)$(datadir)/vi +- cd $(DESTDIR)$(bindir) && $(rm) -f `echo ex | sed '$(transform)'` +- cd $(DESTDIR)$(bindir) && $(rm) -f `echo view | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo ex.0 | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo vi.0 | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo view.0 | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/man1 && \ +- $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(DESTDIR)$(mandir)/man1 && \ + $(rm) -f `echo vi.1 | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/man1 && \ +- $(rm) -f `echo view.1 | sed '$(transform)'` +--- nvi-1.81.5/dist/Makefile.in ++++ nvi-1.81.5/dist/Makefile.in +@@ -2554,35 +2554,12 @@ + perl -MExtUtils::Embed -e xsinit -- -std VI + + install-exec-local: +- cd $(DESTDIR)$(bindir) && $(rm) -f `echo ex | sed '$(transform)'` +- cd $(DESTDIR)$(bindir) && $(rm) -f `echo view | sed '$(transform)'` +- cd $(DESTDIR)$(bindir) && $(ln) \ +- `echo vi | sed '$(transform)'` `echo ex | sed '$(transform)'` +- cd $(DESTDIR)$(bindir) && $(ln) \ +- `echo vi | sed '$(transform)'` `echo view | sed '$(transform)'` + + install-data-local: install_common + @[ -d $(DESTDIR)$(mandir) ] || \ + ($(mkdir) $(DESTDIR)$(mandir) && \ + $(chmod) $(dmode) $(DESTDIR)$(mandir)) +- @[ -d $(DESTDIR)$(mandir)/cat1 ] || \ +- ($(mkdir) $(DESTDIR)$(mandir)/cat1 && \ +- $(chmod) $(dmode) $(DESTDIR)$(mandir)/cat1) + @echo "Installing man pages: $(DESTDIR)$(mandir) ..." +- @cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo vi.0 | sed '$(transform)'` +- @$(cp) $(visrcdir)/docs/vi.man/vi.0 \ +- $(DESTDIR)$(mandir)/cat1/`echo vi.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && \ +- $(chmod) $(fmode) `echo vi.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo ex.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo view.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && $(ln) \ +- `echo vi.0 | sed '$(transform)'` `echo ex.0 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/cat1 && $(ln) \ +- `echo vi.0 | sed '$(transform)'` `echo view.0 | sed '$(transform)'` + @[ -d $(DESTDIR)$(mandir)/man1 ] || \ + ($(mkdir) $(DESTDIR)$(mandir)/man1 && \ + $(chmod) $(dmode) $(DESTDIR)$(mandir)/man1) +@@ -2592,14 +2569,6 @@ + $(DESTDIR)$(mandir)/man1/`echo vi.1 | sed '$(transform)'` + @cd $(DESTDIR)$(mandir)/man1 && \ + $(chmod) $(fmode) `echo vi.1 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/man1 && \ +- $(rm) -f `echo ex.1 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/man1 && \ +- $(rm) -f `echo view.1 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/man1 && $(ln) \ +- `echo vi.1 | sed '$(transform)'` `echo ex.1 | sed '$(transform)'` +- @cd $(DESTDIR)$(mandir)/man1 && $(ln) \ +- `echo vi.1 | sed '$(transform)'` `echo view.1 | sed '$(transform)'` + install_common: + @[ -f $(chmod) ] || (echo 'chmod not found.'; exit 1) + @[ -f $(cp) ] || (echo 'cp not found.'; exit 1) +@@ -2645,20 +2614,8 @@ + + uninstall-local: + $(rm) -rf $(DESTDIR)$(datadir)/vi +- cd $(DESTDIR)$(bindir) && $(rm) -f `echo ex | sed '$(transform)'` +- cd $(DESTDIR)$(bindir) && $(rm) -f `echo view | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo ex.0 | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo vi.0 | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/cat1 && \ +- $(rm) -f `echo view.0 | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/man1 && \ +- $(rm) -f `echo ex.1 | sed '$(transform)'` + cd $(DESTDIR)$(mandir)/man1 && \ + $(rm) -f `echo vi.1 | sed '$(transform)'` +- cd $(DESTDIR)$(mandir)/man1 && \ +- $(rm) -f `echo view.1 | sed '$(transform)'` + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: |