diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2018-01-28 11:30:25 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2018-01-28 11:30:25 +0000 |
commit | 6cd3c0ca16b5a4601e62cc3fed994693128f49dc (patch) | |
tree | 180d94fba084f6d1a0d80645395702ee4ae3e3e6 | |
parent | 46276af56997d9e5a2c42ee936085df24d515089 (diff) | |
download | ports-6cd3c0ca16b5a4601e62cc3fed994693128f49dc.tar.gz ports-6cd3c0ca16b5a4601e62cc3fed994693128f49dc.zip |
Use relative symlinks for terminal descriptions instead of absolute
symlinks.
This is similar to how I fixed the man pages in revision 455914, and
files/patch-term-Makefile is my upstream submission.
Reported by: Ports QA
Notes
Notes:
svn path=/head/; revision=460166
-rw-r--r-- | misc/gnuit/Makefile | 2 | ||||
-rw-r--r-- | misc/gnuit/files/patch-term-Makefile | 113 |
2 files changed, 114 insertions, 1 deletions
diff --git a/misc/gnuit/Makefile b/misc/gnuit/Makefile index d1c8d04deb48..9d89f3fc739e 100644 --- a/misc/gnuit/Makefile +++ b/misc/gnuit/Makefile @@ -3,7 +3,7 @@ PORTNAME= gnuit PORTVERSION= 4.9.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc MASTER_SITES= GNU diff --git a/misc/gnuit/files/patch-term-Makefile b/misc/gnuit/files/patch-term-Makefile new file mode 100644 index 000000000000..bea2ec923f7f --- /dev/null +++ b/misc/gnuit/files/patch-term-Makefile @@ -0,0 +1,113 @@ +2018-01-27 Gerald Pfeifer <gerald@pfeifer.com> + + * term/Makefile.am: Use relative symlinks for terminal + descriptions. + * term/Makefile.in: Regenerate. + +--- UTC +--- term/Makefile.am.orig 2009-02-18 02:31:26.000000000 +0000 ++++ term/Makefile.am 2018-01-27 10:53:28.274055000 +0000 +@@ -27,43 +27,43 @@ + for i in $(GIT_XTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.xterm $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.xterm $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_COLOR_XTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.xterm-color $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.xterm-color $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_HPTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.hpterm $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.hpterm $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_GENERICS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.generic $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.generic $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_VT100S);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.vt100 $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.vt100 $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_ANSIS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.ansi $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.ansi $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_LINUXS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.linux $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.linux $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + + uninstall-local: +--- term/Makefile.in.orig 2009-02-18 02:31:26.000000000 +0000 ++++ term/Makefile.in 2018-01-27 10:54:00.274727000 +0000 +@@ -773,43 +773,43 @@ + for i in $(GIT_XTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.xterm $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.xterm $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_COLOR_XTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.xterm-color $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.xterm-color $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_HPTERMS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.hpterm $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.hpterm $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_GENERICS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.generic $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.generic $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_VT100S);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.vt100 $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.vt100 $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_ANSIS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.ansi $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.ansi $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + \ + for i in $(GIT_LINUXS);\ + do\ + rm -f $(DESTDIR)$(datadir)/gnuit/$$i;\ +- ln -s $(datadir)/gnuit/gnuitrc.linux $(DESTDIR)$(datadir)/gnuit/$$i;\ ++ ln -s gnuitrc.linux $(DESTDIR)$(datadir)/gnuit/$$i;\ + done + + uninstall-local: |